summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2001-05-23 15:35:00 +0000
committerwiz <wiz>2001-05-23 15:35:00 +0000
commit6813c91db8ebcb3e105335f080faaa60a3950625 (patch)
tree07052a27825794a762dfb5b0364eec929e1e98e6
parentf187a58a75ad9b5794aa4edef84d39660fc8f108 (diff)
downloadpkgsrc-6813c91db8ebcb3e105335f080faaa60a3950625.tar.gz
Fix compilation on macppc. (relocation error because of missing -fPIC)
-rw-r--r--security/gnupg/distinfo4
-rw-r--r--security/gnupg/patches/patch-aa13
-rw-r--r--security/gnupg/patches/patch-ab13
3 files changed, 29 insertions, 1 deletions
diff --git a/security/gnupg/distinfo b/security/gnupg/distinfo
index 9c87a6c76e6..f001f9c67a1 100644
--- a/security/gnupg/distinfo
+++ b/security/gnupg/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.3 2001/05/14 13:40:04 wiz Exp $
+$NetBSD: distinfo,v 1.4 2001/05/23 15:35:00 wiz Exp $
SHA1 (gnupg-1.0.5.tar.gz) = e30358cae1e1f7aece84b6808b1366f12a1ff527
Size (gnupg-1.0.5.tar.gz) = 1962455 bytes
SHA1 (idea.c) = 1cbae164674dfb9da624e088fe7d66d7c0d4f17e
Size (idea.c) = 15450 bytes
+SHA1 (patch-aa) = fffd3e55792bb27df002bacbc5d8bf9096d5dd64
+SHA1 (patch-ab) = 26938c9933564f263a02ac3c01b47fa185142f28
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