]> git.pld-linux.org Git - packages/libpng.git/blame - libpng-export_old.patch
- updated to 1.2.38
[packages/libpng.git] / libpng-export_old.patch
CommitLineData
6df9a45f 1--- libpng-1.2.37/png.h~ 2009-06-04 13:08:00.000000000 +0200
2+++ libpng-1.2.37/png.h 2009-06-18 10:46:50.000000000 +0200
3@@ -1827,16 +1827,16 @@
3a30473a
PS
4 extern PNG_EXPORT(void,png_destroy_read_struct) PNGARG((png_structpp
5 png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr));
6
7-/* free all memory used by the read (old method - NOT DLL EXPORTED) */
8-extern void png_read_destroy PNGARG((png_structp png_ptr, png_infop info_ptr,
9- png_infop end_info_ptr));
10+/* free all memory used by the read (old method) */
11+extern PNG_EXPORT(void,png_read_destroy) PNGARG((png_structp png_ptr,
12+ png_infop info_ptr, png_infop end_info_ptr));
13
14 /* free any memory associated with the png_struct and the png_info_structs */
15 extern PNG_EXPORT(void,png_destroy_write_struct)
16 PNGARG((png_structpp png_ptr_ptr, png_infopp info_ptr_ptr));
17
18-/* free any memory used in png_ptr struct (old method - NOT DLL EXPORTED) */
19-extern void png_write_destroy PNGARG((png_structp png_ptr));
20+/* free any memory used in png_ptr struct (old method) */
21+extern PNG_EXPORT(void,png_write_destroy) PNGARG((png_structp png_ptr));
22
23 /* set the libpng method of handling chunk CRC errors */
24 extern PNG_EXPORT(void,png_set_crc_action) PNGARG((png_structp png_ptr,
6df9a45f 25--- libpng-1.2.37/pngread.c~ 2009-06-04 13:08:00.000000000 +0200
26+++ libpng-1.2.37/pngread.c 2009-06-18 10:49:04.000000000 +0200
27@@ -1157,7 +1157,7 @@
3a30473a
PS
28 }
29
6df9a45f 30 /* Free all memory used by the read (old method) */
3a30473a
PS
31-void /* PRIVATE */
32+void PNGAPI
33 png_read_destroy(png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr)
34 {
35 #ifdef PNG_SETJMP_SUPPORTED
6df9a45f 36--- libpng-1.2.37/pngwrite.c~ 2009-06-04 13:08:00.000000000 +0200
37+++ libpng-1.2.37/pngwrite.c 2009-06-18 10:50:07.000000000 +0200
38@@ -1082,7 +1082,7 @@
3a30473a
PS
39
40
41 /* Free any memory used in png_ptr struct (old method) */
42-void /* PRIVATE */
43+void PNGAPI
44 png_write_destroy(png_structp png_ptr)
45 {
46 #ifdef PNG_SETJMP_SUPPORTED
This page took 0.081227 seconds and 4 git commands to generate.