diff options
author | tron <tron> | 2011-01-19 10:23:54 +0000 |
---|---|---|
committer | tron <tron> | 2011-01-19 10:23:54 +0000 |
commit | 58991f8778398209548265cf983870d3a867f727 (patch) | |
tree | f9469ae32ef740cb241d308095fb370183149aa3 /x11 | |
parent | 75291a0346c6d83af046174b2f6fb639634a6a09 (diff) | |
download | pkgsrc-58991f8778398209548265cf983870d3a867f727.tar.gz |
Fix build with png-1.5.
Diffstat (limited to 'x11')
-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); |