summaryrefslogtreecommitdiff
path: root/security/gnupg/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'security/gnupg/patches/patch-ab')
-rw-r--r--security/gnupg/patches/patch-ab38
1 files changed, 12 insertions, 26 deletions
diff --git a/security/gnupg/patches/patch-ab b/security/gnupg/patches/patch-ab
index 6757bf84f2f..23e30e22246 100644
--- a/security/gnupg/patches/patch-ab
+++ b/security/gnupg/patches/patch-ab
@@ -1,44 +1,30 @@
-$NetBSD: patch-ab,v 1.3 1999/04/09 09:39:20 agc Exp $
+$NetBSD: patch-ab,v 1.4 1999/12/02 15:50:45 frueauf Exp $
Make this work on NetBSD.
For Solaris, make the DATADIRNAME share.
---- configure.orig Sat Mar 20 09:34:01 1999
-+++ configure Fri Apr 9 10:28:33 1999
-@@ -1596,6 +1596,13 @@
- ;;
- esac
-
-+case "$target" in
-+i[3456]86*-*-netbsd* | pentium-*-netbsd* | pentiumpro-*-netbsd*)
-+ ac_sympat='_\([_A-Za-z][_A-Za-z0-9]*\)'
-+ ac_symxfrm='_\1 \1'
-+ ;;
-+esac
-+
- # If we're using GNU nm, then use its standard symbol codes.
- if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
- ac_symcode='[ABCDGISTUW]'
-@@ -1840,7 +1847,7 @@
- CFLAGS_RDYNAMIC="-Wl,-dy"
+--- configure.orig Tue Sep 7 17:12:37 1999
++++ configure Thu Dec 2 16:03:10 1999
+@@ -2505,7 +2505,7 @@
+ CFLAGS_RDYNAMIC="-Wl,-E"
;;
-- freebsd2* | osf4* )
-+ freebsd2* | osf4* | netbsd*)
+- openbsd* | freebsd2* | osf4* | irix* )
++ openbsd* | freebsd2* | osf4* | irix* | netbsd* )
CFLAGS_RDYNAMIC=""
;;
- * )
-@@ -1880,6 +1887,9 @@
+
+@@ -2553,6 +2553,9 @@
NAME_OF_DEV_URANDOM="/dev/urandom"
DYNLINK_MOD_CFLAGS="-shared -rdynamic -fpic -Wl,-Bshareable -Wl,-x"
;;
+ *-netbsd*)
-+ DYNLINK_MOD_CFLAGS="-shared -rdynamic -fpic -Wl,-Bshareable -Wl,-x"
-+ ;;
++ DYNLINK_MOD_CFLAGS="-shared -rdynamic -fpic -Wl,-Bshareable -Wl,-x"
++ ;;
*)
NAME_OF_DEV_RANDOM="/dev/random"
NAME_OF_DEV_URANDOM="/dev/urandom"
-@@ -3248,7 +3258,7 @@
+@@ -3921,7 +3924,7 @@
cat conftest.$ac_ext >&5
rm -rf conftest*
CATOBJEXT=.mo