SOURCES: libpng-export_old.patch (NEW) - reexport old symbols for ...

pluto pluto at pld-linux.org
Sun May 14 20:49:39 CEST 2006


Author: pluto                        Date: Sun May 14 18:49:39 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- reexport old symbols for compatibilty.

---- Files affected:
SOURCES:
   libpng-export_old.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libpng-export_old.patch
diff -u /dev/null SOURCES/libpng-export_old.patch:1.1
--- /dev/null	Sun May 14 20:49:39 2006
+++ SOURCES/libpng-export_old.patch	Sun May 14 20:49:34 2006
@@ -0,0 +1,46 @@
+--- libpng-1.2.10/png.h.orig	2006-04-23 20:45:34.000000000 +0200
++++ libpng-1.2.10/png.h	2006-05-14 20:38:24.000000000 +0200
+@@ -1699,16 +1699,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) */
++extern PNG_EXPORT(void,png_read_destroy) PNGARG((png_structp png_ptr,
++   png_infop info_ptr, png_infop end_info_ptr));
+ 
+ /* 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));
++/* free any memory used in png_ptr struct (old method) */
++extern PNG_EXPORT(void,png_write_destroy) PNGARG((png_structp png_ptr));
+ 
+ /* 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.10/pngread.c.orig	2006-04-23 20:45:34.000000000 +0200
++++ libpng-1.2.10/pngread.c	2006-05-14 20:39:36.000000000 +0200
+@@ -1151,7 +1151,7 @@
+ }
+ 
+ /* free all memory used by the read (old method) */
+-void /* PRIVATE */
++void PNGAPI
+ png_read_destroy(png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr)
+ {
+ #ifdef PNG_SETJMP_SUPPORTED
+--- libpng-1.2.10/pngwrite.c.orig	2006-04-23 20:45:35.000000000 +0200
++++ libpng-1.2.10/pngwrite.c	2006-05-14 20:39:49.000000000 +0200
+@@ -1052,7 +1052,7 @@
+ 
+ 
+ /* Free any memory used in png_ptr struct (old method) */
+-void /* PRIVATE */
++void PNGAPI
+ png_write_destroy(png_structp png_ptr)
+ {
+ #ifdef PNG_SETJMP_SUPPORTED
================================================================


More information about the pld-cvs-commit mailing list