packages: zgv/zgv-libpng15.patch (NEW)=?UTF-8?Q?=20?=- new, libpng-1.5 fixes

adamg adamg at pld-linux.org
Wed Feb 8 22:35:50 CET 2012


Author: adamg                        Date: Wed Feb  8 21:35:50 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, libpng-1.5 fixes

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

---- Diffs:

================================================================
Index: packages/zgv/zgv-libpng15.patch
diff -u /dev/null packages/zgv/zgv-libpng15.patch:1.1
--- /dev/null	Wed Feb  8 22:35:50 2012
+++ packages/zgv/zgv-libpng15.patch	Wed Feb  8 22:35:45 2012
@@ -0,0 +1,20 @@
+--- zgv-5.9/src/readpng.c~	2004-10-31 16:00:23.000000000 +0100
++++ zgv-5.9/src/readpng.c	2012-02-08 22:28:18.675074413 +0100
+@@ -63,7 +63,7 @@
+ use_errmsg=1;
+ 
+ /* cleanup is done after jump back, so just do that now... */
+-longjmp(png_ptr->jmpbuf,1);
++longjmp(png_jmpbuf(png_ptr),1);
+ }
+ 
+ 
+@@ -132,7 +132,7 @@
+   return(_PICERR_NOMEM);
+   }
+ 
+-if(setjmp(png_ptr->jmpbuf))
++if(setjmp(png_jmpbuf(png_ptr)))
+   {
+   /* if we get here, there was an error. */
+   /* don't use local variables here, they may have been blasted */
================================================================


More information about the pld-cvs-commit mailing list