diff options
author | wiz <wiz@pkgsrc.org> | 2011-07-08 20:48:28 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-07-08 20:48:28 +0000 |
commit | 706cfb14cb3e336f5441af2311a449f1ddd77cae (patch) | |
tree | 730f8e43075605c835203adf79c9d63b84eac7a9 /graphics | |
parent | c94a83312dbcff08fc8852d5df7f0eacfd7c4bc9 (diff) | |
download | pkgsrc-706cfb14cb3e336f5441af2311a449f1ddd77cae.tar.gz |
Fix build with png-1.5.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/flphoto/distinfo | 3 | ||||
-rw-r--r-- | graphics/flphoto/patches/patch-image.cxx | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/graphics/flphoto/distinfo b/graphics/flphoto/distinfo index a1e433a6ba4..2843f772898 100644 --- a/graphics/flphoto/distinfo +++ b/graphics/flphoto/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2008/09/19 15:31:29 joerg Exp $ +$NetBSD: distinfo,v 1.7 2011/07/08 20:48:28 wiz Exp $ SHA1 (flphoto-1.2-source.tar.bz2) = 634cdbf80690b96009fb1c2952f0dff3733710ba RMD160 (flphoto-1.2-source.tar.bz2) = 1a9d574182a1f21f44493fa5e6f39d58c0d6c2a1 @@ -6,3 +6,4 @@ Size (flphoto-1.2-source.tar.bz2) = 501459 bytes SHA1 (patch-aa) = 0a47885db0284d770c10db8d1dcc3c315df85dbc SHA1 (patch-ab) = f4d9616afa1e83e6e43cf84f1dfdf670a5ab7dd3 SHA1 (patch-ac) = b80af462911c719a9bfea7ad778e77ac5e760da9 +SHA1 (patch-image.cxx) = a8bea3d8ccfd9ad62e3a36320b02a8736bbfa9da diff --git a/graphics/flphoto/patches/patch-image.cxx b/graphics/flphoto/patches/patch-image.cxx new file mode 100644 index 00000000000..9a3790fb70c --- /dev/null +++ b/graphics/flphoto/patches/patch-image.cxx @@ -0,0 +1,14 @@ +$NetBSD: patch-image.cxx,v 1.1 2011/07/08 20:48:28 wiz Exp $ + +Fix build with png-1.5. + +--- image.cxx.orig 2003-10-22 03:49:41.000000000 +0000 ++++ image.cxx +@@ -91,6 +91,7 @@ extern "C" { + #endif // HAVE_LIBJPEG + + #ifdef HAVE_LIBPNG ++# include <zlib.h> + # include <png.h> + #endif // HAVE_LIBPNG + |