diff options
Diffstat (limited to 'math/grace/patches/patch-ac')
-rw-r--r-- | math/grace/patches/patch-ac | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/math/grace/patches/patch-ac b/math/grace/patches/patch-ac deleted file mode 100644 index d99ba3e45ab..00000000000 --- a/math/grace/patches/patch-ac +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-ac,v 1.2 2011/01/29 23:01:50 wiz Exp $ - -Fix build with png-1.5. -http://plasma-gate.weizmann.ac.il/Grace/phpbb/viewtopic.php?f=3&t=2080&p=4606#p4606 - ---- src/rstdrv.c.orig 2004-07-03 20:47:46.000000000 +0000 -+++ src/rstdrv.c -@@ -54,6 +54,7 @@ - - #ifdef HAVE_LIBPNG - # include <png.h> -+# include <zlib.h> - #endif - - #ifndef NONE_GUI -@@ -885,7 +886,7 @@ static void rstImagePng(gdImagePtr ihand - return; - } - -- if (setjmp(png_ptr->jmpbuf)) { -+ if (setjmp(png_jmpbuf(png_ptr))) { - png_destroy_write_struct(&png_ptr, &info_ptr); - return; - } |