packages: plotutils/plotutils-libpng15.patch (NEW)=?UTF-8?Q?=20?=- new

adamg adamg at pld-linux.org
Sun Feb 12 14:29:52 CET 2012


Author: adamg                        Date: Sun Feb 12 13:29:52 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: packages/plotutils/plotutils-libpng15.patch
diff -u /dev/null packages/plotutils/plotutils-libpng15.patch:1.1
--- /dev/null	Sun Feb 12 14:29:52 2012
+++ packages/plotutils/plotutils-libpng15.patch	Sun Feb 12 14:29:47 2012
@@ -0,0 +1,29 @@
+--- plotutils-2.6/libplot/z_write.c~	2008-07-16 02:54:10.000000000 +0200
++++ plotutils-2.6/libplot/z_write.c	2012-02-12 14:20:18.788246962 +0100
+@@ -164,7 +164,7 @@
+     }
+ 
+   /* cleanup after libpng errors (error handler does a longjmp) */
+-  if (setjmp (png_ptr->jmpbuf))
++  if (setjmp (png_jmpbuf(png_ptr)))
+     {
+       png_destroy_write_struct (&png_ptr, (png_info **)NULL);
+       return -1;
+@@ -444,7 +444,7 @@
+ #endif
+     }
+ 
+-  longjmp (png_ptr->jmpbuf, 1);
++  longjmp (png_jmpbuf(png_ptr), 1);
+ }
+ 
+ static void 
+@@ -515,7 +515,7 @@
+ #endif
+     }
+ 
+-  longjmp (png_ptr->jmpbuf, 1);
++  longjmp (png_jmpbuf(png_ptr), 1);
+ }
+ 
+ static void 
================================================================


More information about the pld-cvs-commit mailing list