]> git.pld-linux.org Git - packages/libpng.git/blob - libpng-export_old.patch
- you MAY NOT flip-flop functionality and even leave bogus Provides on. add blocker...
[packages/libpng.git] / libpng-export_old.patch
1 --- libpng-1.2.41/png.h~        2009-12-03 01:46:00.000000000 +0000
2 +++ libpng-1.2.41/png.h 2009-12-04 11:43:03.564781939 +0000
3 @@ -1858,16 +1858,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)) PNG_DEPRECATED;
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)); PNG_DEPRECATED;
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)) PNG_DEPRECATED;
20 +/* Free any memory used in png_ptr struct (old method) */
21 +extern PNG_EXPORT(void,png_write_destroy) PNGARG((png_structp png_ptr)); PNG_DEPRECATED;
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.41/pngread.c~    2009-12-03 01:46:00.000000000 +0000
26 +++ libpng-1.2.41/pngread.c     2009-12-04 11:44:30.031438764 +0000
27 @@ -1177,7 +1177,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.41/pngwrite.c~   2009-12-03 01:46:00.000000000 +0000
37 +++ libpng-1.2.41/pngwrite.c    2009-12-04 11:46:02.941431637 +0000
38 @@ -1100,7 +1100,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.108797 seconds and 3 git commands to generate.