summaryrefslogtreecommitdiff
path: root/graphics/png/patches
diff options
context:
space:
mode:
authorben <ben>2004-03-29 16:02:08 +0000
committerben <ben>2004-03-29 16:02:08 +0000
commita5a0f429af4ba8dde7edea2322c43e0642275e70 (patch)
tree27d8d6b690f91e925b986fe890684ac966acfa3b /graphics/png/patches
parentda49246a34887d2423ec25846aebe97ee9c1c924 (diff)
downloadpkgsrc-a5a0f429af4ba8dde7edea2322c43e0642275e70.tar.gz
Install lib/pkgconfig/libpng12.pc, otherwise "pkg-config --list-all" will
fail with an error if imlib2 is installed.
Diffstat (limited to 'graphics/png/patches')
-rw-r--r--graphics/png/patches/patch-ad12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/png/patches/patch-ad b/graphics/png/patches/patch-ad
new file mode 100644
index 00000000000..5b1842cfe9b
--- /dev/null
+++ b/graphics/png/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2004/03/29 16:02:08 ben Exp $
+
+--- scripts/libpng.pc.in.orig Thu Oct 3 04:32:33 2002
++++ scripts/libpng.pc.in
+@@ -7,5 +7,5 @@ includedir=${exec_prefix}/include
+ Name: libpng12
+ Description: Loads and saves PNG files
+ Version: 1.2.5
+-Libs: -L${libdir} -lpng12 -lz -lm
+-Cflags: -I${includedir}/libpng12
++Libs: -L${libdir} -lpng -lz -lm
++Cflags: -I${includedir}