summaryrefslogtreecommitdiff
path: root/security/ssh/patches/patch-ap
diff options
context:
space:
mode:
authorsimonb <simonb>1999-04-30 01:47:57 +0000
committersimonb <simonb>1999-04-30 01:47:57 +0000
commit3154506d0728d7ff39b66e4df04a8ad58b9060cd (patch)
tree3bbb36d94929af1f33b52ad2886d7f3ef332a72f /security/ssh/patches/patch-ap
parentb63142a9354c4d58feeef31a1822cfebc4ba24a8 (diff)
downloadpkgsrc-3154506d0728d7ff39b66e4df04a8ad58b9060cd.tar.gz
If on a mips*-*-netbsd* arch, add "-Wa,-KPIC" to CFLAGS to generate
MIPS ABI code. Fixes PR pkg/7467 from Jason Thorpe.
Diffstat (limited to 'security/ssh/patches/patch-ap')
-rw-r--r--security/ssh/patches/patch-ap26
1 files changed, 26 insertions, 0 deletions
diff --git a/security/ssh/patches/patch-ap b/security/ssh/patches/patch-ap
new file mode 100644
index 00000000000..0d509cedad1
--- /dev/null
+++ b/security/ssh/patches/patch-ap
@@ -0,0 +1,26 @@
+--- gmp-2.0.2-ssh-2/configure.in.orig Mon Apr 26 19:50:09 1999
++++ gmp-2.0.2-ssh-2/configure.in Mon Apr 26 20:06:07 1999
+@@ -222,6 +222,10 @@
+ sh2-*-*)
+ path="sh/sh2 sh"
+ ;;
++ mips*-*-netbsd*)
++ path="mips2"
++ SFLAGS="-Wa,-KPIC"
++ ;;
+ mips[34]*-*-*)
+ path="mips3"
+ ;;
+--- gmp-2.0.2-ssh-2/configure.orig Thu Jul 9 02:40:44 1998
++++ gmp-2.0.2-ssh-2/configure Mon Apr 26 20:06:12 1999
+@@ -1955,6 +1955,10 @@
+ sh2-*-*)
+ path="sh/sh2 sh"
+ ;;
++ mips*-*-netbsd*)
++ path="mips2"
++ SFLAGS="-Wa,-KPIC"
++ ;;
+ mips[34]*-*-*)
+ path="mips3"
+ ;;