Package: libpng / 1.2.50-2+deb8u3

01-legacy.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Index: libpng-1.2.50/libpng-1.2.50.txt
===================================================================
--- libpng-1.2.50.orig/libpng-1.2.50.txt
+++ libpng-1.2.50/libpng-1.2.50.txt
@@ -1049,8 +1049,9 @@ the normalized graylevel is computed:
     gray = (rw*red + gw*green + bw*blue)/65536;
 
 The default values approximate those recommended in the Charles
-Poynton's Color FAQ, <http://www.inforamp.net/~poynton/>
-Copyright (c) 1998-01-04 Charles Poynton <poynton at inforamp.net>
+Poynton's Color FAQ,
+<http://www.poynton.com/notes/colour_and_gamma/ColorFAQ.html>
+Copyright (c) 2006-11-28 Charles Poynton <poynton at poynton.com>
 
     Y = 0.212671 * R + 0.715160 * G + 0.072169 * B
 
Index: libpng-1.2.50/png.h
===================================================================
--- libpng-1.2.50.orig/png.h
+++ libpng-1.2.50/png.h
@@ -1902,15 +1902,17 @@ extern PNG_EXPORT(void,png_destroy_read_
    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)) PNG_DEPRECATED;
+/* Debian note: exporting as it is required by legacy applications */
+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)) PNG_DEPRECATED;
+/* Debian note: exporting as it is required by legacy applications */
+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,
Index: libpng-1.2.50/png.5
===================================================================
--- libpng-1.2.50.orig/png.5
+++ libpng-1.2.50/png.5
@@ -18,7 +18,11 @@ gamma and chromaticity data for improved
 platforms.
 
 .SH "SEE ALSO"
-.IR libpng(3) ", " zlib(3) ", " deflate(5) ", and " zlib(5)
+.IR libpng (3),
+.IR zlib (3),
+.IR deflate (5),
+and
+.IR zlib (5)
 .LP
 PNG specification (second edition), November 2003:
 .IP