summaryrefslogtreecommitdiff
path: root/graphics/png/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/png/patches/patch-af')
-rw-r--r--graphics/png/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/png/patches/patch-af b/graphics/png/patches/patch-af
new file mode 100644
index 00000000000..5e5947cd232
--- /dev/null
+++ b/graphics/png/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.3 2010/03/04 10:13:16 tnn Exp $
+
+--- scripts/libpng-config.in.orig 2009-12-03 01:46:02.000000000 +0000
++++ scripts/libpng-config.in
+@@ -16,7 +16,7 @@ prefix="@prefix@"
+ exec_prefix="@exec_prefix@"
+ libdir="@libdir@"
+ includedir="@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@"
+-libs="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@"
++libs="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ @LIBS@"
+ all_libs="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ @LIBS@"
+ I_opts="-I${includedir}"
+ L_opts="-L${libdir}"