diff options
author | wiz <wiz@pkgsrc.org> | 2011-01-30 01:07:00 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-01-30 01:07:00 +0000 |
commit | 9615fbee6c65434753501323bb25c0d60e4bf6cf (patch) | |
tree | 283616554b1605635aa933c0ba9858e7ae903d06 /misc | |
parent | 0e0d71bf7de4fa92c2774f0a00b322bec43de200 (diff) | |
download | pkgsrc-9615fbee6c65434753501323bb25c0d60e4bf6cf.tar.gz |
Fix build with png-1.5 (includes upstream bug report URL).
Diffstat (limited to 'misc')
-rw-r--r-- | misc/celestia/distinfo | 3 | ||||
-rw-r--r-- | misc/celestia/patches/patch-aq | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/misc/celestia/distinfo b/misc/celestia/distinfo index 89eddae9aa1..2f4ac3e0936 100644 --- a/misc/celestia/distinfo +++ b/misc/celestia/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2010/06/20 15:05:43 wiz Exp $ +$NetBSD: distinfo,v 1.19 2011/01/30 01:07:00 wiz Exp $ SHA1 (celestia-1.4.1.tar.gz) = 37863498c43d3078b41027706bfa033bccd949a9 RMD160 (celestia-1.4.1.tar.gz) = c66c2540e329613dace12e5b12b2dae2a4c679e0 @@ -19,3 +19,4 @@ SHA1 (patch-am) = 34a83573294e6ca41d817a19aef3e7d3e4f14945 SHA1 (patch-an) = 80bd712a8ae3f4dee0d908882deadbe2ad319abf SHA1 (patch-ao) = ed7be1b0ac2d6a1bbf1c9ef8e66816124a7e8a99 SHA1 (patch-ap) = 768ada9965afdbcfa8f797a9627ad90cb0b920b0 +SHA1 (patch-aq) = fdc7b7f0ff04672f93af144f41e09751b4de0c1a diff --git a/misc/celestia/patches/patch-aq b/misc/celestia/patches/patch-aq new file mode 100644 index 00000000000..7b589b58a60 --- /dev/null +++ b/misc/celestia/patches/patch-aq @@ -0,0 +1,15 @@ +$NetBSD: patch-aq,v 1.1 2011/01/30 01:07:00 wiz Exp $ + +Fix build with png-1.5. +https://sourceforge.net/tracker/index.php?func=detail&aid=3018741&group_id=21302&atid=121302 + +--- src/celestia/imagecapture.cpp.orig 2004-11-16 07:14:20.000000000 +0000 ++++ src/celestia/imagecapture.cpp +@@ -30,6 +30,7 @@ extern "C" { + #else + #include "png.h" + #endif ++#include <zlib.h> + + // Define png_jmpbuf() in case we are using a pre-1.0.6 version of libpng + #ifndef png_jmpbuf |