From a46b169cac2dae95f9827145e56261ed53001da3 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 19 Jan 2011 10:23:54 +0000 Subject: Fix build with png-1.5. --- x11/xplanet/distinfo | 3 ++- x11/xplanet/patches/patch-aa | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 x11/xplanet/patches/patch-aa (limited to 'x11/xplanet') 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); -- cgit v1.2.3