summaryrefslogtreecommitdiff
path: root/security/gnupg/patches
diff options
context:
space:
mode:
authorwiz <wiz>2001-05-23 15:35:00 +0000
committerwiz <wiz>2001-05-23 15:35:00 +0000
commitd40663231453d4cac8c278887cb4e8d0b4a5dbac (patch)
tree07052a27825794a762dfb5b0364eec929e1e98e6 /security/gnupg/patches
parent669a8c0651a9498e8d7211d42782255faf810074 (diff)
downloadpkgsrc-d40663231453d4cac8c278887cb4e8d0b4a5dbac.tar.gz
Fix compilation on macppc. (relocation error because of missing -fPIC)
Diffstat (limited to 'security/gnupg/patches')
-rw-r--r--security/gnupg/patches/patch-aa13
-rw-r--r--security/gnupg/patches/patch-ab13
2 files changed, 26 insertions, 0 deletions
diff --git a/security/gnupg/patches/patch-aa b/security/gnupg/patches/patch-aa
new file mode 100644
index 00000000000..906c88fdac5
--- /dev/null
+++ b/security/gnupg/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.6 2001/05/23 15:35:01 wiz Exp $
+
+--- cipher/Makefile.am.orig Thu Mar 8 14:47:11 2001
++++ cipher/Makefile.am
+@@ -43,7 +43,7 @@
+ endif
+
+
+-DYNLINK_MOD_CFLAGS = -DIS_MODULE @DYNLINK_MOD_CFLAGS@
++DYNLINK_MOD_CFLAGS = -DIS_MODULE -fPIC @DYNLINK_MOD_CFLAGS@
+
+ #libcipher_a_LDFLAGS =
+ libcipher_a_SOURCES = cipher.c \
diff --git a/security/gnupg/patches/patch-ab b/security/gnupg/patches/patch-ab
new file mode 100644
index 00000000000..078c6d62126
--- /dev/null
+++ b/security/gnupg/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.12 2001/05/23 15:35:01 wiz Exp $
+
+--- cipher/Makefile.in.orig Sun Apr 29 16:39:07 2001
++++ cipher/Makefile.in
+@@ -142,7 +142,7 @@
+ @ENABLE_GNUPG_EXTENSIONS_TRUE@pkglib_PROGRAMS = @DYNAMIC_CIPHER_MODS@
+ @ENABLE_GNUPG_EXTENSIONS_FALSE@pkglib_PROGRAMS =
+
+-DYNLINK_MOD_CFLAGS = -DIS_MODULE @DYNLINK_MOD_CFLAGS@
++DYNLINK_MOD_CFLAGS = -DIS_MODULE -fPIC @DYNLINK_MOD_CFLAGS@
+
+ #libcipher_a_LDFLAGS =
+ libcipher_a_SOURCES = cipher.c pubkey.c md.c dynload.c dynload.h bithelp.h des.c des.h twofish.c blowfish.c blowfish.h cast5.c cast5.h rijndael.c elgamal.c elgamal.h rsa.c rsa.h primegen.c random.h random.c rand-internal.h rmd.h dsa.h dsa.c g10c.c smallprime.c construct.c