summaryrefslogtreecommitdiff
path: root/graphics/png/patches
diff options
context:
space:
mode:
authortv <tv>2007-01-03 16:23:10 +0000
committertv <tv>2007-01-03 16:23:10 +0000
commitca6324869ee9c49064e7e2154c571751bdf5d3d9 (patch)
tree571019ec039ac0ec85d81fa4c4fa8580fe8d76df /graphics/png/patches
parent536ebf8fd1cb5a9f9853bd6bf798959c67508476 (diff)
downloadpkgsrc-ca6324869ee9c49064e7e2154c571751bdf5d3d9.tar.gz
Don't allow "ld --version-script" on Interix. Fixes PR pkg/35210.
Based on patch idea from Aleksey Cheusov <cheusov@tut.by>. (Sanity tested for breakage on a non-Interix platform, NetBSD.)
Diffstat (limited to 'graphics/png/patches')
-rw-r--r--graphics/png/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/png/patches/patch-ac b/graphics/png/patches/patch-ac
new file mode 100644
index 00000000000..a832b07c81a
--- /dev/null
+++ b/graphics/png/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.6 2007/01/03 16:23:10 tv Exp $
+
+--- configure.orig 2006-11-28 11:26:14.000000000 -0500
++++ configure
+@@ -21341,7 +21341,7 @@ fi
+ { echo "$as_me:$LINENO: checking if libraries can be versioned" >&5
+ echo $ECHO_N "checking if libraries can be versioned... $ECHO_C" >&6; }
+ GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
+-if test "$GLD"; then
++if test "$GLD" && test "`uname -s`" != "Interix"; then
+ have_ld_version_script=yes
+ { echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6; }