]> git.pld-linux.org Git - packages/libpng.git/blobdiff - libpng-pngminus.patch
- up to 1.6.10, fixes CVE-2014-0333
[packages/libpng.git] / libpng-pngminus.patch
index 715b82f19b98767529a9c68a61ce3ee6080ccfb8..d929f9f5b7dbf9e02f78df6d11278060e6ca77a8 100644 (file)
@@ -1,6 +1,6 @@
 --- libpng-1.5.7/contrib/pngminus/makefile.std.orig    2011-12-15 16:45:32.000000000 +0100
 +++ libpng-1.5.7/contrib/pngminus/makefile.std 2011-12-18 16:24:38.099367091 +0100
-@@ -12,20 +12,20 @@
+@@ -12,21 +12,21 @@
  #PNGLIB = -L$(PNGPATH)/lib -lpng16
  #PNGLIBS = $(PNGPATH)/lib/libpng16.a
  PNGINC = -I../..
@@ -19,8 +19,9 @@
 +ZLIB = -lz
 +ZLIBS = -lz
  
--CFLAGS=$(PNGINC) $(ZINC)
-+CFLAGS=$(OPT_FLAGS) $(PNGINC) $(ZINC)
+-CPPFLAGS=$(PNGINC) $(ZINC)
++CPPFLAGS=$(OPT_FLAGS) $(PNGINC) $(ZINC)
+ CFLAGS=
  LDLIBS=$(PNGLIB) $(ZLIB)
 -LDLIBSS=$(PNGLIBS) $(ZLIBS)
 +LDLIBSS=$(LD_FLAGS) $(PNGLIBS) $(ZLIBS)
This page took 0.101707 seconds and 4 git commands to generate.