packages: libpng/libpng-export_old.patch - updated for 1.2.41
lisu
lisu at pld-linux.org
Fri Dec 4 10:45:06 CET 2009
Author: lisu Date: Fri Dec 4 09:45:06 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- updated for 1.2.41
---- Files affected:
packages/libpng:
libpng-export_old.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/libpng/libpng-export_old.patch
diff -u packages/libpng/libpng-export_old.patch:1.3 packages/libpng/libpng-export_old.patch:1.4
--- packages/libpng/libpng-export_old.patch:1.3 Sun Jul 19 18:40:56 2009
+++ packages/libpng/libpng-export_old.patch Fri Dec 4 10:45:01 2009
@@ -1,30 +1,30 @@
---- libpng-1.2.38/png.h.orig 2009-07-16 12:58:31.000000000 +0200
-+++ libpng-1.2.38/png.h 2009-07-19 18:19:09.000000000 +0200
-@@ -1842,16 +1842,16 @@
+--- libpng-1.2.41/png.h~ 2009-12-03 01:46:00.000000000 +0000
++++ libpng-1.2.41/png.h 2009-12-04 11:43:03.564781939 +0000
+@@ -1858,16 +1858,16 @@
extern PNG_EXPORT(void,png_destroy_read_struct) PNGARG((png_structpp
png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr));
-/* Free all memory used by the read (old method - NOT DLL EXPORTED) */
-extern void png_read_destroy PNGARG((png_structp png_ptr, png_infop info_ptr,
-- png_infop end_info_ptr));
-+/* free all memory used by the read (old method) */
+- png_infop end_info_ptr)) PNG_DEPRECATED;
++/* Free all memory used by the read (old method) */
+extern PNG_EXPORT(void,png_read_destroy) PNGARG((png_structp png_ptr,
-+ png_infop info_ptr, png_infop end_info_ptr));
++ png_infop info_ptr, png_infop end_info_ptr)); PNG_DEPRECATED;
/* Free any memory associated with the png_struct and the png_info_structs */
extern PNG_EXPORT(void,png_destroy_write_struct)
PNGARG((png_structpp png_ptr_ptr, png_infopp info_ptr_ptr));
-/* Free any memory used in png_ptr struct (old method - NOT DLL EXPORTED) */
--extern void png_write_destroy PNGARG((png_structp png_ptr));
+-extern void png_write_destroy PNGARG((png_structp png_ptr)) PNG_DEPRECATED;
+/* Free any memory used in png_ptr struct (old method) */
-+extern PNG_EXPORT(void,png_write_destroy) PNGARG((png_structp png_ptr));
++extern PNG_EXPORT(void,png_write_destroy) PNGARG((png_structp png_ptr)); PNG_DEPRECATED;
/* Set the libpng method of handling chunk CRC errors */
extern PNG_EXPORT(void,png_set_crc_action) PNGARG((png_structp png_ptr,
---- libpng-1.2.37/pngread.c~ 2009-06-04 13:08:00.000000000 +0200
-+++ libpng-1.2.37/pngread.c 2009-06-18 10:49:04.000000000 +0200
-@@ -1157,7 +1157,7 @@
+--- libpng-1.2.41/pngread.c~ 2009-12-03 01:46:00.000000000 +0000
++++ libpng-1.2.41/pngread.c 2009-12-04 11:44:30.031438764 +0000
+@@ -1177,7 +1177,7 @@
}
/* Free all memory used by the read (old method) */
@@ -33,9 +33,9 @@
png_read_destroy(png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr)
{
#ifdef PNG_SETJMP_SUPPORTED
---- libpng-1.2.37/pngwrite.c~ 2009-06-04 13:08:00.000000000 +0200
-+++ libpng-1.2.37/pngwrite.c 2009-06-18 10:50:07.000000000 +0200
-@@ -1082,7 +1082,7 @@
+--- libpng-1.2.41/pngwrite.c~ 2009-12-03 01:46:00.000000000 +0000
++++ libpng-1.2.41/pngwrite.c 2009-12-04 11:46:02.941431637 +0000
+@@ -1100,7 +1100,7 @@
/* Free any memory used in png_ptr struct (old method) */
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libpng/libpng-export_old.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list