summaryrefslogtreecommitdiff
path: root/graphics/png/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/png/patches/patch-aa')
-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