diff options
Diffstat (limited to 'graphics/gfract/patches/patch-my_png_cpp')
-rw-r--r-- | graphics/gfract/patches/patch-my_png_cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/gfract/patches/patch-my_png_cpp b/graphics/gfract/patches/patch-my_png_cpp new file mode 100644 index 00000000000..6ff0d7e7105 --- /dev/null +++ b/graphics/gfract/patches/patch-my_png_cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-my_png_cpp,v 1.1 2011/07/05 04:28:34 dholland Exp $ + +Update for png 1.5. + +--- my_png.cpp~ 2005-02-28 15:00:56.000000000 +0000 ++++ my_png.cpp +@@ -58,7 +58,7 @@ void save_file(image_info* img, char* fi + return; + } + +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + fprintf(stderr, "Internal error in libpng\n"); + if (png_pal) + delete[] png_pal; |