summaryrefslogtreecommitdiff
path: root/graphics/png/patches
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-10-05 16:23:39 +0000
committerhans <hans@pkgsrc.org>2011-10-05 16:23:39 +0000
commita687bf707dd58ee5decdc805500c9b8c06c4202f (patch)
tree40013b6f350270371d11b59b80a5557874990552 /graphics/png/patches
parentd854bf8b7a0e48e9d9337859da2746b9bf6e91ec (diff)
downloadpkgsrc-a687bf707dd58ee5decdc805500c9b8c06c4202f.tar.gz
Fix typo to make this build again on SunOS.
Diffstat (limited to 'graphics/png/patches')
-rw-r--r--graphics/png/patches/patch-aa13
1 files changed, 12 insertions, 1 deletions
diff --git a/graphics/png/patches/patch-aa b/graphics/png/patches/patch-aa
index 5f12ab83017..cfecac9359d 100644
--- a/graphics/png/patches/patch-aa
+++ b/graphics/png/patches/patch-aa
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.30 2011/01/13 13:27:22 wiz Exp $
+$NetBSD: patch-aa,v 1.31 2011/10/05 16:23:39 hans Exp $
+
+It's -Wl, not Wl.
Don't install compat links to libpng. Programs should use
the pkg-config or libpng-config scripts to get the correct png library
@@ -6,6 +8,15 @@ name.
--- Makefile.in.orig 2011-01-06 13:02:45.000000000 +0000
+++ Makefile.in
+@@ -43,7 +43,7 @@ host_triplet = @host@
+ check_PROGRAMS = pngtest$(EXEEXT) pngvalid$(EXEEXT)
+
+ # Versioned symbols and restricted exports
+-@HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_TRUE@am__append_1 = -Wl,-M Wl,libpng.vers
++@HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_TRUE@am__append_1 = -Wl,-M -Wl,libpng.vers
+ @HAVE_LD_VERSION_SCRIPT_TRUE@@HAVE_SOLARIS_LD_FALSE@am__append_2 = -Wl,--version-script=libpng.vers
+ # Only restricted exports when possible
+ @HAVE_LD_VERSION_SCRIPT_FALSE@am__append_3 = -export-symbols libpng.sym
@@ -1342,14 +1342,6 @@ install-data-hook:
install-exec-hook:
cd $(DESTDIR)$(bindir); rm -f libpng-config