summaryrefslogtreecommitdiff
path: root/emulators/vba
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-01-14 11:38:38 +0000
committerwiz <wiz@pkgsrc.org>2011-01-14 11:38:38 +0000
commit219d4e8531edc78b0a0012d6bea0cf983707fcdf (patch)
tree1b5d86cf4e6ed0c7ed5042941ea644d6d570f692 /emulators/vba
parent4ca2dd6d081baf090bd33c623521a669b7bff325 (diff)
downloadpkgsrc-219d4e8531edc78b0a0012d6bea0cf983707fcdf.tar.gz
Fix build with png-1.5.
Diffstat (limited to 'emulators/vba')
-rw-r--r--emulators/vba/distinfo3
-rw-r--r--emulators/vba/patches/patch-ag15
2 files changed, 17 insertions, 1 deletions
diff --git a/emulators/vba/distinfo b/emulators/vba/distinfo
index dfba334d9d5..f73551443a3 100644
--- a/emulators/vba/distinfo
+++ b/emulators/vba/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2007/02/16 01:52:20 wiz Exp $
+$NetBSD: distinfo,v 1.5 2011/01/14 11:40:55 wiz Exp $
SHA1 (VisualBoyAdvance-src-1.7.2.tar.gz) = 04d82406079563fd17cda07f72488185e9152f51
RMD160 (VisualBoyAdvance-src-1.7.2.tar.gz) = 44f94a4f270f2cda25879681c52892f6978caf99
@@ -9,3 +9,4 @@ SHA1 (patch-ac) = 33158335dc12f335471d10962b4552082b589d25
SHA1 (patch-ad) = b61c4053bbed582db5df2039c20b436e1d9e1ff1
SHA1 (patch-ae) = b7e08365abd77b5c0f3473b4ce091b747298dfc8
SHA1 (patch-af) = 0b194e624acb083942bd8f9f1a56c34bdd97d9e4
+SHA1 (patch-ag) = bd304939c7f104e6114a5078f4347b37761a1ede
diff --git a/emulators/vba/patches/patch-ag b/emulators/vba/patches/patch-ag
new file mode 100644
index 00000000000..1ee8ba51d05
--- /dev/null
+++ b/emulators/vba/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1 2011/01/14 11:40:55 wiz Exp $
+
+Fix build with png-1.5.
+
+--- src/Util.cpp.orig 2004-05-20 17:42:37.000000000 +0000
++++ src/Util.cpp
+@@ -79,7 +79,7 @@ bool utilWritePNGFile(const char *fileNa
+ return false;
+ }
+
+- if(setjmp(png_ptr->jmpbuf)) {
++ if(setjmp(png_jmpbuf(png_ptr))) {
+ png_destroy_write_struct(&png_ptr,NULL);
+ fclose(fp);
+ return false;