diff options
author | wiz <wiz@pkgsrc.org> | 2011-01-14 11:38:38 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-01-14 11:38:38 +0000 |
commit | 45b274147a7fb6630ddf14e984cf970123dc5e39 (patch) | |
tree | 1b5d86cf4e6ed0c7ed5042941ea644d6d570f692 /emulators/vba/patches | |
parent | b09336ad826baa8d34705b86f96019e118d7c902 (diff) | |
download | pkgsrc-45b274147a7fb6630ddf14e984cf970123dc5e39.tar.gz |
Fix build with png-1.5.
Diffstat (limited to 'emulators/vba/patches')
-rw-r--r-- | emulators/vba/patches/patch-ag | 15 |
1 files changed, 15 insertions, 0 deletions
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; |