Author: adamg                        Date: Sun Feb 12 12:14:25 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: packages/sodipodi/sodipodi-libpng15.patch
diff -u /dev/null packages/sodipodi/sodipodi-libpng15.patch:1.1
--- /dev/null   Sun Feb 12 13:14:25 2012
+++ packages/sodipodi/sodipodi-libpng15.patch   Sun Feb 12 13:14:20 2012
@@ -0,0 +1,20 @@
+--- ../../BUILD/sodipodi-0.34/src/helper/png-write.c~  2004-02-09 
20:01:16.000000000 +0100
++++ ../../BUILD/sodipodi-0.34/src/helper/png-write.c   2012-02-12 
13:12:20.779162364 +0100
+@@ -282,7 +282,7 @@
+       /* Set error handling.  REQUIRED if you aren't supplying your own
+        * error hadnling functions in the png_create_write_struct() call.
+        */
+-      if (setjmp (png_ptr->jmpbuf)) {
++      if (setjmp (png_jmpbuf(png_ptr))) {
+               /* If we get here, we had a problem reading the file */
+               fclose (fp);
+               unlink (filename);
+@@ -370,7 +370,7 @@
+ 
+               h = MIN (height - r, 64);
+               n = get_rows ((const unsigned char **) row_pointers, r, h, 
data);
+-              if (!n) longjmp (png_ptr->jmpbuf, 1);
++              if (!n) longjmp (png_jmpbuf(png_ptr), 1);
+               png_write_rows (png_ptr, row_pointers, n);
+               r += n;
+       }
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to