summaryrefslogtreecommitdiff
path: root/x11/fltk2
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-01-25 23:47:22 +0000
committerwiz <wiz@pkgsrc.org>2011-01-25 23:47:22 +0000
commitb025ce1780f479891792c009c0aa8b32ed0a8b03 (patch)
tree82add8c87d25242edfd726edc08b9ce443f45e43 /x11/fltk2
parent12174a57b749e0554b00fad30403bbe52d53bcc5 (diff)
downloadpkgsrc-b025ce1780f479891792c009c0aa8b32ed0a8b03.tar.gz
Fix build with png-1.5. Reported broken by chuck.
Diffstat (limited to 'x11/fltk2')
-rw-r--r--x11/fltk2/distinfo3
-rw-r--r--x11/fltk2/patches/patch-ag15
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/fltk2/distinfo b/x11/fltk2/distinfo
index ec932e453cb..9bcb7e33c56 100644
--- a/x11/fltk2/distinfo
+++ b/x11/fltk2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2009/03/14 19:24:48 hasso Exp $
+$NetBSD: distinfo,v 1.3 2011/01/25 23:47:22 wiz Exp $
SHA1 (fltk-2.0.x-r6129.tar.bz2) = fafb9e5309127e5dd3e127ecf83f410312a427b5
RMD160 (fltk-2.0.x-r6129.tar.bz2) = a43d9603fdbf12fd0deefbad7e5ef5dd8f0a1c6f
@@ -9,3 +9,4 @@ SHA1 (patch-ac) = 5fdd8cfe380b6eb2b25f62f809e256e5c0f5dede
SHA1 (patch-ad) = 21e2f9cb1406c989a83cac37a9ce39ee462f6088
SHA1 (patch-ae) = 8711184bfcbc2882d115e06cb9716c37349b04c3
SHA1 (patch-af) = ff5648e8c6b935bccb77a8afe09d247f3313c76a
+SHA1 (patch-ag) = ea06cb3802609caee6c46804f4bbf904aeb9a278
diff --git a/x11/fltk2/patches/patch-ag b/x11/fltk2/patches/patch-ag
new file mode 100644
index 00000000000..f1ce5db0a90
--- /dev/null
+++ b/x11/fltk2/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1 2011/01/25 23:47:22 wiz Exp $
+
+Fix build with png-1.5.
+
+--- images/fl_png.cxx.orig 2007-04-16 14:48:06.000000000 +0000
++++ images/fl_png.cxx
+@@ -111,7 +111,7 @@ bool pngImage::fetch()
+ png_set_sig_bytes(png_ptr, 8);
+ }
+
+- if (setjmp(png_ptr->jmpbuf))
++ if (setjmp(png_jmpbuf(png_ptr)))
+ goto error;
+
+ png_read_info(png_ptr, info_ptr);