Package: libpng / 1.2.50-2+deb8u3

02-required-space.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
Description: Add a space between literal and identifier for C++11
 This seems to be fixed in upstream version 1.2.51.
Forwarded: not-needed
Bug-Ubuntu: http://launchpad.net/bugs/1298779
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676157

Index: libpng-1.2.50/png.h
===================================================================
--- libpng-1.2.50.orig/png.h
+++ libpng-1.2.50/png.h
@@ -2658,7 +2658,7 @@ extern PNG_EXPORT(void, png_write_png) P
 #      define png_debug(l,m) \
        { \
        int num_tabs=l; \
-       fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
+       fprintf(PNG_DEBUG_FILE,"%s" m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
          (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":"")))); \
        }
 #    endif
@@ -2666,7 +2666,7 @@ extern PNG_EXPORT(void, png_write_png) P
 #      define png_debug1(l,m,p1) \
        { \
        int num_tabs=l; \
-       fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
+       fprintf(PNG_DEBUG_FILE,"%s" m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
          (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1); \
        }
 #    endif
@@ -2674,7 +2674,7 @@ extern PNG_EXPORT(void, png_write_png) P
 #      define png_debug2(l,m,p1,p2) \
        { \
        int num_tabs=l; \
-       fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
+       fprintf(PNG_DEBUG_FILE,"%s" m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
          (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1,p2); \
        }
 #    endif