pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libgcrypt PR pkg/56100: security/libgcrypt fa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dea29c0041e
branches:  trunk
changeset: 450303:6dea29c0041e
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Tue Apr 13 17:38:12 2021 +0000

description:
PR pkg/56100: security/libgcrypt fails on NetBSD/m68k

Extend the m68k assembler syntax probe to recognize NetBSD targets.

diffstat:

 security/libgcrypt/distinfo                       |   3 +-
 security/libgcrypt/patches/patch-mpi_config.links |  28 +++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r a4266667d42c -r 6dea29c0041e security/libgcrypt/distinfo
--- a/security/libgcrypt/distinfo       Tue Apr 13 17:36:36 2021 +0000
+++ b/security/libgcrypt/distinfo       Tue Apr 13 17:38:12 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.87 2021/02/18 10:58:08 adam Exp $
+$NetBSD: distinfo,v 1.88 2021/04/13 17:38:12 dholland Exp $
 
 SHA1 (libgcrypt-1.9.2.tar.bz2) = 29bd5d0a8f674d4521167dd518ef99b26d1e8f27
 RMD160 (libgcrypt-1.9.2.tar.bz2) = 57fca67d695ff958086becd33abfca8256efbee6
@@ -7,5 +7,6 @@
 SHA1 (patch-aa) = 60b3f4453b217ed8879a2ffd8d485c0195ffb5f8
 SHA1 (patch-cipher_rijndael-arm.S) = ef3cb7f481022440780eb48ae31cbfad0a3ec115
 SHA1 (patch-configure) = edc92453a0843ab0442da7f1b9df2ef4c219bdf5
+SHA1 (patch-mpi_config.links) = 9808ad9a9d669ed6b84190a543b820ddcc7613df
 SHA1 (patch-random_jitterentropy-base.c) = 5a14676aae7ad5d12f9f0bed366af5183aaf22ad
 SHA1 (patch-src_visibility.h) = 8cbbf6803ab34b4b7dda832aa8ee18247aa89518
diff -r a4266667d42c -r 6dea29c0041e security/libgcrypt/patches/patch-mpi_config.links
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libgcrypt/patches/patch-mpi_config.links Tue Apr 13 17:38:12 2021 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-mpi_config.links,v 1.3 2021/04/13 17:38:12 dholland Exp $
+
+Extend the m68k assembler syntax probe to match NetBSD targets.
+
+(...probably should just make ELF_SYNTAX the default for pkgsrc, but
+not now)
+
+--- mpi/config.links~  2021-01-28 12:53:52.000000000 +0000
++++ mpi/config.links
+@@ -279,6 +279,18 @@ case "${host}" in
+       path="m68k"
+         mpi_cpu_arch="m68k"
+       ;;
++    m680[234]0*-*-netbsd | \
++    m68k-*-netbsd)
++      echo '#define ELF_SYNTAX'           >>./mpi/asm-syntax.h
++      cat  $srcdir/mpi/m68k/syntax.h      >>./mpi/asm-syntax.h
++      path="m68k"
++        mpi_cpu_arch="m68k"
++      ;;
++    m68060*-*-netbsd)
++      echo '#define ELF_SYNTAX'           >>./mpi/asm-syntax.h
++      cat  $srcdir/mpi/m68k/syntax.h      >>./mpi/asm-syntax.h
++        mpi_cpu_arch="m68k"
++      ;;
+     m68k-atari-mint)
+       echo '#define MIT_SYNTAX'           >>./mpi/asm-syntax.h
+       cat  $srcdir/mpi/m68k/syntax.h      >>./mpi/asm-syntax.h



Home | Main Index | Thread Index | Old Index