summaryrefslogtreecommitdiff
path: root/security/gnupg/patches
diff options
context:
space:
mode:
authormellon <mellon@pkgsrc.org>1999-04-07 23:01:27 +0000
committermellon <mellon@pkgsrc.org>1999-04-07 23:01:27 +0000
commit33b0a3ca1bec302520e08c88da75e29fba9c1609 (patch)
tree12d8792171bf363d83462a963aedb0e8aa3b9d48 /security/gnupg/patches
parentab2965f5acc2e01333a1d6b83c80c22e90c52ef7 (diff)
downloadpkgsrc-33b0a3ca1bec302520e08c88da75e29fba9c1609.tar.gz
GNU Privacy Guard (a PGP replacement)
Diffstat (limited to 'security/gnupg/patches')
-rw-r--r--security/gnupg/patches/patch-aa33
-rw-r--r--security/gnupg/patches/patch-ab42
-rw-r--r--security/gnupg/patches/patch-ac22
3 files changed, 97 insertions, 0 deletions
diff --git a/security/gnupg/patches/patch-aa b/security/gnupg/patches/patch-aa
new file mode 100644
index 00000000000..16a9afec200
--- /dev/null
+++ b/security/gnupg/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1 1999/04/07 23:01:27 mellon Exp $
+
+diff -rc2 gnupg-0.9.5/aclocal.m4 gnupg-0.9.5-hacked/aclocal.m4
+*** gnupg-0.9.5/aclocal.m4 Sat Mar 20 04:33:43 1999
+--- gnupg-0.9.5-hacked/aclocal.m4 Wed Apr 7 18:39:04 1999
+***************
+*** 213,217 ****
+ ;;
+
+! freebsd2* | osf4* )
+ CFLAGS_RDYNAMIC=""
+ ;;
+--- 213,217 ----
+ ;;
+
+! freebsd2* | osf4* | netbsd*)
+ CFLAGS_RDYNAMIC=""
+ ;;
+***************
+*** 418,421 ****
+--- 418,429 ----
+ solaris*)
+ ac_symcode='[BDTU]'
++ ;;
++ esac
++
++ # NetBSD/i386 has leading underscores.
++ 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
diff --git a/security/gnupg/patches/patch-ab b/security/gnupg/patches/patch-ab
new file mode 100644
index 00000000000..5f067e6d5bf
--- /dev/null
+++ b/security/gnupg/patches/patch-ab
@@ -0,0 +1,42 @@
+$NetBSD: patch-ab,v 1.1 1999/04/07 23:01:27 mellon Exp $
+
+diff -rc2 gnupg-0.9.5/configure gnupg-0.9.5-hacked/configure
+*** gnupg-0.9.5/configure Sat Mar 20 04:34:01 1999
+--- gnupg-0.9.5-hacked/configure Wed Apr 7 17:38:32 1999
+***************
+*** 1597,1600 ****
+--- 1597,1607 ----
+ 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
+***************
+*** 1841,1845 ****
+ ;;
+
+! freebsd2* | osf4* )
+ CFLAGS_RDYNAMIC=""
+ ;;
+--- 1848,1852 ----
+ ;;
+
+! freebsd2* | osf4* | netbsd*)
+ CFLAGS_RDYNAMIC=""
+ ;;
+***************
+*** 1879,1882 ****
+--- 1886,1892 ----
+ NAME_OF_DEV_RANDOM="/dev/srandom"
+ 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"
+ ;;
diff --git a/security/gnupg/patches/patch-ac b/security/gnupg/patches/patch-ac
new file mode 100644
index 00000000000..1e803f8bc84
--- /dev/null
+++ b/security/gnupg/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 1999/04/07 23:01:27 mellon Exp $
+
+diff -rc2 gnupg-0.9.5/mpi/config.links gnupg-0.9.5-hacked/mpi/config.links
+*** gnupg-0.9.5/mpi/config.links Mon Mar 8 12:51:20 1999
+--- gnupg-0.9.5-hacked/mpi/config.links Wed Apr 7 16:43:18 1999
+***************
+*** 35,38 ****
+--- 35,48 ----
+ path="i586 i386"
+ ;;
++ i[34]86*-*-netbsd*)
++ echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h
++ cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
++ path="i386"
++ ;;
++ i[56]86*-*-netbsd* | pentium-*-netbsd* | pentiumpro-*-netbsd*)
++ echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h
++ cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
++ path="i586 i386"
++ ;;
+ i[34]86*-*-*)
+ echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h