pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libgcrypt Add patch for build fix on Darwin PPC.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ebb5e9fb24a
branches:  trunk
changeset: 632585:2ebb5e9fb24a
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Apr 01 09:48:37 2014 +0000

description:
Add patch for build fix on Darwin PPC.
PR pkg/48655 by Jason Bacon.

diffstat:

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

diffs (38 lines):

diff -r 97ea69777434 -r 2ebb5e9fb24a security/libgcrypt/distinfo
--- a/security/libgcrypt/distinfo       Tue Apr 01 09:48:04 2014 +0000
+++ b/security/libgcrypt/distinfo       Tue Apr 01 09:48:37 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.47 2014/02/03 16:51:35 wiz Exp $
+$NetBSD: distinfo,v 1.48 2014/04/01 09:48:37 obache Exp $
 
 SHA1 (libgcrypt-1.6.1.tar.bz2) = f03d9b63ac3b17a6972fc11150d136925b702f02
 RMD160 (libgcrypt-1.6.1.tar.bz2) = df69424afa6fa27a1ad54b9ffae1d5bb4903f6b2
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = 6fac21daa26b7de3b13839d076f78a74400efce7
 SHA1 (patch-ad) = 19345b7d164521d526a44eb3f1a465ff09d8266c
 SHA1 (patch-configure) = c4e10bdb7e00a44d507f5b964f3e71a63828cd0a
+SHA1 (patch-mpi_config.links) = 3ada0ae5a68605ab6817dc611ceacf904e11c0d0
diff -r 97ea69777434 -r 2ebb5e9fb24a 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 01 09:48:37 2014 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-mpi_config.links,v 1.1 2014/04/01 09:48:37 obache Exp $
+
+* fixes build on Darwin PPC
+  https://bugs.g10code.com/gnupg/issue1616
+
+--- mpi/config.links.orig      2014-01-27 15:43:28.000000000 +0000
++++ mpi/config.links
+@@ -44,7 +44,11 @@ echo '/* created by config.links - do no
+ echo "/* Host: ${host} */" >>./mpi/asm-syntax.h
+ 
+ case "${host}" in
+-    powerpc-apple-darwin*          | \
++    powerpc-apple-darwin*)
++       echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h
++       path=""
++       mpi_cpu_arch="ppc"
++       ;;
+     i[34567]86*-*-openbsd[12]*     | \
+     i[34567]86*-*-openbsd3.[0123]*)
+        echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h



Home | Main Index | Thread Index | Old Index