diff options
author | tron <tron@pkgsrc.org> | 2011-01-19 10:23:54 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2011-01-19 10:23:54 +0000 |
commit | 310fdfa892311994ae508d6d2d83254c49b97f15 (patch) | |
tree | f9469ae32ef740cb241d308095fb370183149aa3 /x11/xplanet | |
parent | b2ee5b245f34778db2e752989e92e487cf5628d7 (diff) | |
download | pkgsrc-310fdfa892311994ae508d6d2d83254c49b97f15.tar.gz |
Fix build with png-1.5.
Diffstat (limited to 'x11/xplanet')
-rw-r--r-- | x11/xplanet/distinfo | 3 | ||||
-rw-r--r-- | x11/xplanet/patches/patch-aa | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/xplanet/distinfo b/x11/xplanet/distinfo index aa480b16f25..7668c87121e 100644 --- a/x11/xplanet/distinfo +++ b/x11/xplanet/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.13 2009/07/22 13:37:06 wiz Exp $ +$NetBSD: distinfo,v 1.14 2011/01/19 10:23:54 tron Exp $ SHA1 (xplanet-1.2.1.tar.gz) = c3810c303af8f0cb40520112d9cd1f24fa8b42b5 RMD160 (xplanet-1.2.1.tar.gz) = 06c5031ea702bca9cc6ed5ad8c81454a223f508e Size (xplanet-1.2.1.tar.gz) = 1211663 bytes +SHA1 (patch-aa) = c68c8a2d152ccd1bff57c37558cec99c4a231156 diff --git a/x11/xplanet/patches/patch-aa b/x11/xplanet/patches/patch-aa new file mode 100644 index 00000000000..91d48357d17 --- /dev/null +++ b/x11/xplanet/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.5 2011/01/19 10:23:54 tron Exp $ + +Fix build with png-1.5. + +--- src/libimage/png.c.orig 2006-03-25 22:50:51.000000000 +0000 ++++ src/libimage/png.c 2011-01-19 10:20:09.000000000 +0000 +@@ -57,7 +57,7 @@ + return(0); + } + +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp) NULL); + fclose(infile); |