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 | 8d6fe510bab78ee1258fe10388b79716e72b4a5a (patch) | |
tree | f9469ae32ef740cb241d308095fb370183149aa3 | |
parent | 5d1aad42f77144fc9e9df025b1fa5e8f1655814a (diff) | |
download | pkgsrc-8d6fe510bab78ee1258fe10388b79716e72b4a5a.tar.gz |
Fix build with png-1.5.
-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); |