~noskcaj/ubuntu/trusty/libpng/libpng

« back to all changes in this revision

Viewing changes to debian/patches/01-legacy.patch

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2009-12-04 11:23:50 UTC
  • mfrom: (1.1.10 upstream) (15.2.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091204112350-ln22xyakgn9bh39k
Tags: 1.2.41-1
* New upstream release
* Debian source format is 3.0 (quilt)
* Update debian/watch
* Add 02-export-png_set_strip_error_numbers.patch
  Define PNG_ERROR_NUMBERS_SUPPORTED
  Upstream doesn't define PNG_ERROR_NUMBERS_SUPPORTED since 1.2.41. As
  a consecuence, the symbol png_set_strip_error_numbe@@PNG12_0 wasn't
  exported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/libpng-1.2.41.txt 2009-12-03 12:46:00.000000000 +1100
 
2
+++ b/libpng-1.2.41.txt 2009-12-04 11:59:32.000000000 +1100
 
3
@@ -1049,8 +1049,9 @@
 
4
     gray = (rw*red + gw*green + bw*blue)/65536;
 
5
 
 
6
 The default values approximate those recommended in the Charles
 
7
-Poynton's Color FAQ, <http://www.inforamp.net/~poynton/>
 
8
-Copyright (c) 1998-01-04 Charles Poynton <poynton at inforamp.net>
 
9
+Poynton's Color FAQ,
 
10
+<http://www.poynton.com/notes/colour_and_gamma/ColorFAQ.html>
 
11
+Copyright (c) 2006-11-28 Charles Poynton <poynton at poynton.com>
 
12
 
 
13
     Y = 0.212671 * R + 0.715160 * G + 0.072169 * B
 
14
 
 
15
--- a/png.h     2009-12-03 12:46:00.000000000 +1100
 
16
+++ b/png.h     2009-12-04 11:56:48.000000000 +1100
 
17
@@ -1859,15 +1859,17 @@
 
18
    png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr));
 
19
 
 
20
 /* Free all memory used by the read (old method - NOT DLL EXPORTED) */
 
21
-extern void png_read_destroy PNGARG((png_structp png_ptr, png_infop info_ptr,
 
22
-   png_infop end_info_ptr)) PNG_DEPRECATED;
 
23
+/* Debian note: exporting as it is required by legacy applications */
 
24
+extern PNG_EXPORT(void,png_read_destroy) PNGARG((png_structp png_ptr, png_infop info_ptr,
 
25
+   png_infop end_info_ptr));
 
26
 
 
27
 /* Free any memory associated with the png_struct and the png_info_structs */
 
28
 extern PNG_EXPORT(void,png_destroy_write_struct)
 
29
    PNGARG((png_structpp png_ptr_ptr, png_infopp info_ptr_ptr));
 
30
 
 
31
 /* Free any memory used in png_ptr struct (old method - NOT DLL EXPORTED) */
 
32
-extern void png_write_destroy PNGARG((png_structp png_ptr)) PNG_DEPRECATED;
 
33
+/* Debian note: exporting as it is required by legacy applications */
 
34
+extern PNG_EXPORT(void,png_write_destroy) PNGARG((png_structp png_ptr));
 
35
 
 
36
 /* Set the libpng method of handling chunk CRC errors */
 
37
 extern PNG_EXPORT(void,png_set_crc_action) PNGARG((png_structp png_ptr,
 
38
--- a/png.5     2009-12-03 12:46:00.000000000 +1100
 
39
+++ b/png.5     2009-12-04 11:59:32.000000000 +1100
 
40
@@ -18,7 +18,11 @@
 
41
 platforms.
 
42
 
 
43
 .SH "SEE ALSO"
 
44
-.IR libpng(3) ", " zlib(3) ", " deflate(5) ", and " zlib(5)
 
45
+.IR libpng (3),
 
46
+.IR zlib (3),
 
47
+.IR deflate (5),
 
48
+and
 
49
+.IR zlib (5)
 
50
 .LP
 
51
 PNG specification (second edition), November 2003:
 
52
 .IP