]> git.pld-linux.org Git - packages/libpng.git/blame - libpng-export_old.patch
- apng patch updated to 1.2.15
[packages/libpng.git] / libpng-export_old.patch
CommitLineData
3a30473a
PS
1--- libpng-1.2.10/png.h.orig 2006-04-23 20:45:34.000000000 +0200
2+++ libpng-1.2.10/png.h 2006-05-14 20:38:24.000000000 +0200
3@@ -1699,16 +1699,16 @@
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,
25--- libpng-1.2.10/pngread.c.orig 2006-04-23 20:45:34.000000000 +0200
26+++ libpng-1.2.10/pngread.c 2006-05-14 20:39:36.000000000 +0200
27@@ -1151,7 +1151,7 @@
28 }
29
30 /* free all memory used by the read (old method) */
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
36--- libpng-1.2.10/pngwrite.c.orig 2006-04-23 20:45:35.000000000 +0200
37+++ libpng-1.2.10/pngwrite.c 2006-05-14 20:39:49.000000000 +0200
38@@ -1052,7 +1052,7 @@
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.173443 seconds and 4 git commands to generate.