packages: smw/smw-libpng15.patch (NEW)=?UTF-8?Q?=20?=- new
adamg
adamg at pld-linux.org
Sun Feb 12 18:11:29 CET 2012
Author: adamg Date: Sun Feb 12 17:11:29 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/smw:
smw-libpng15.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/smw/smw-libpng15.patch
diff -u /dev/null packages/smw/smw-libpng15.patch:1.1
--- /dev/null Sun Feb 12 18:11:29 2012
+++ packages/smw/smw-libpng15.patch Sun Feb 12 18:11:24 2012
@@ -0,0 +1,21 @@
+--- smw/_src/savepng.cpp~ 2007-05-26 11:37:16.000000000 +0200
++++ smw/_src/savepng.cpp 2012-02-12 18:07:52.270944669 +0100
+@@ -94,7 +94,7 @@
+ }
+
+ /* Set error handling. */
+- if (setjmp(png_ptr->jmpbuf))
++ if (setjmp(png_jmpbuf(png_ptr)))
+ {
+ /* If we get here, we had a problem reading the file */
+ IMG_SetError("Error writing the PNG file");
+@@ -143,9 +143,6 @@
+ if (row_pointers)
+ delete [] row_pointers;
+
+- if (info_ptr->palette)
+- delete info_ptr->palette;
+-
+ png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
+
+
================================================================
More information about the pld-cvs-commit
mailing list