summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-04-01 09:48:37 +0000
committerobache <obache@pkgsrc.org>2014-04-01 09:48:37 +0000
commit8b4e5ff21d65bb92969f6dce743e8f40b6ebbaf2 (patch)
tree1751730476cc7a2f5e8b041b6a0f7f7c49c46c10 /security
parentb15e825d86de00fe336c2eca6d299c974c6b762e (diff)
downloadpkgsrc-8b4e5ff21d65bb92969f6dce743e8f40b6ebbaf2.tar.gz
Add patch for build fix on Darwin PPC.
PR pkg/48655 by Jason Bacon.
Diffstat (limited to 'security')
-rw-r--r--security/libgcrypt/distinfo3
-rw-r--r--security/libgcrypt/patches/patch-mpi_config.links20
2 files changed, 22 insertions, 1 deletions
diff --git a/security/libgcrypt/distinfo b/security/libgcrypt/distinfo
index 2b2b5fdd56e..486d6b1d0db 100644
--- a/security/libgcrypt/distinfo
+++ b/security/libgcrypt/distinfo
@@ -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-aa) = 7c46612f912d45dfd4ce4f4b510e72c00bd38585
SHA1 (patch-ab) = 6fac21daa26b7de3b13839d076f78a74400efce7
SHA1 (patch-ad) = 19345b7d164521d526a44eb3f1a465ff09d8266c
SHA1 (patch-configure) = c4e10bdb7e00a44d507f5b964f3e71a63828cd0a
+SHA1 (patch-mpi_config.links) = 3ada0ae5a68605ab6817dc611ceacf904e11c0d0
diff --git a/security/libgcrypt/patches/patch-mpi_config.links b/security/libgcrypt/patches/patch-mpi_config.links
new file mode 100644
index 00000000000..936d58cdb74
--- /dev/null
+++ b/security/libgcrypt/patches/patch-mpi_config.links
@@ -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