diff options
author | tnn <tnn@pkgsrc.org> | 2010-03-04 10:13:16 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2010-03-04 10:13:16 +0000 |
commit | 81920af91ba7c1201b46e62cddc9fef6b5dae182 (patch) | |
tree | 08847a12bd075b290a1557063127ab649f8a0821 /graphics/png/patches | |
parent | 7bbacc00879cf1bc01ea105bb31f673cae4a9af7 (diff) | |
download | pkgsrc-81920af91ba7c1201b46e62cddc9fef6b5dae182.tar.gz |
"pkg-config --libs png" and "libpng-config --libs" should
request -lz linkage. Bump PKGREVISION.
Diffstat (limited to 'graphics/png/patches')
-rw-r--r-- | graphics/png/patches/patch-af | 13 | ||||
-rw-r--r-- | graphics/png/patches/patch-ag | 11 |
2 files changed, 24 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}" diff --git a/graphics/png/patches/patch-ag b/graphics/png/patches/patch-ag new file mode 100644 index 00000000000..b96c0c8578a --- /dev/null +++ b/graphics/png/patches/patch-ag @@ -0,0 +1,11 @@ +$NetBSD: patch-ag,v 1.1 2010/03/04 10:13:16 tnn Exp $ + +--- ./scripts/libpng.pc.in.orig 2010-03-04 10:02:50.000000000 +0000 ++++ ./scripts/libpng.pc.in +@@ -6,5 +6,5 @@ includedir=@includedir@/libpng12 + Name: libpng + Description: Loads and saves PNG files + Version: 1.2.41 +-Libs: -Wl,-R${libdir} -L${libdir} -lpng12 ++Libs: -Wl,-R${libdir} -L${libdir} -lpng12 -lz -lm + Cflags: -I${includedir} |