Author: adamg                        Date: Sun Feb 12 21:20:22 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/grace:
   grace-libpng15.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/grace/grace-libpng15.patch
diff -u /dev/null packages/grace/grace-libpng15.patch:1.1
--- /dev/null   Sun Feb 12 22:20:22 2012
+++ packages/grace/grace-libpng15.patch Sun Feb 12 22:20:17 2012
@@ -0,0 +1,19 @@
+--- grace-5.1.22/src/rstdrv.c~ 2004-07-03 22:47:46.000000000 +0200
++++ grace-5.1.22/src/rstdrv.c  2012-02-12 22:16:50.451780508 +0100
+@@ -54,6 +54,7 @@
+ 
+ #ifdef HAVE_LIBPNG
+ #  include <png.h>
++#  include <zlib.h>
+ #endif
+ 
+ #ifndef NONE_GUI
+@@ -886,7 +886,7 @@
+         return;
+     }
+ 
+-    if (setjmp(png_ptr->jmpbuf)) {
++    if (setjmp(png_jmpbuf(png_ptr))) {
+         png_destroy_write_struct(&png_ptr, &info_ptr);
+         return;
+     }
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to