diff --git a/ANNOUNCE b/ANNOUNCE index 9f789f383b5e3a2d3a24060fc39acda53b1e4b31..f324c25571438011f444be114b0c290d8c916397 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -517,6 +517,7 @@ Version 1.6.0beta30 [September 27, 2012] Added a work around for GCC 4.2 optimization bug. Marked the broken (bad white point) original HP sRGB profiles correctly and correct comments. + Added -DZ_SOLO to contrib/pngminim/*/makefile to work with zlib-1.2.7 Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 2a403d4f5f1fff9b45d1fca1a4e5400130c8cf03..cc91a400d5715dec3dbc54b15ebe2d26dee96102 100644 --- a/CHANGES +++ b/CHANGES @@ -4269,6 +4269,7 @@ Version 1.6.0beta30 [September 27, 2012] Added a work around for GCC 4.2 optimization bug. Marked the broken (bad white point) original HP sRGB profiles correctly and correct comments. + Added -DZ_SOLO to contrib/pngminim/*/makefile to work with zlib-1.2.7 Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/contrib/pngminim/decoder/makefile b/contrib/pngminim/decoder/makefile index e10e1225d65b42739142928d26c9b9a6af2aedad..dafba64b74aac59fac9c437384fe54d4b219ce2a 100644 --- a/contrib/pngminim/decoder/makefile +++ b/contrib/pngminim/decoder/makefile @@ -14,7 +14,7 @@ LD=$(CC) RM=rm -f COPY=cp -CFLAGS=-DPNG_USER_CONFIG -DNO_GZCOMPRESS -DNO_GZIP -I. -O1 +CFLAGS=-DPNG_USER_CONFIG -DNO_GZCOMPRESS -DZ_SOLO -DNO_GZIP -I. -O1 C=.c O=.o diff --git a/contrib/pngminim/encoder/makefile b/contrib/pngminim/encoder/makefile index d6f39e2ea06a9b582af0a16c742de389943e3159..810b8c8faa8caa9bce3b046b463bce96848980fe 100644 --- a/contrib/pngminim/encoder/makefile +++ b/contrib/pngminim/encoder/makefile @@ -14,7 +14,7 @@ LD=$(CC) RM=rm -f COPY=cp -CFLAGS=-DPNG_USER_CONFIG -DNO_GZIP -I. -O1 +CFLAGS=-DPNG_USER_CONFIG -DZ_SOLO -DNO_GZIP -I. -O1 C=.c O=.o diff --git a/contrib/pngminim/preader/makefile b/contrib/pngminim/preader/makefile index f4b0ccdc8a9100f1e8f67fa8464c5eb35020ce44..ecc05c7bf69eab77d4a6531b4fa885f3b17734af 100644 --- a/contrib/pngminim/preader/makefile +++ b/contrib/pngminim/preader/makefile @@ -30,7 +30,7 @@ XLIB = -L/usr/X11R6/lib -lX11 #LIBS = $(XLIB) LIBS = $(XLIB) -lm #platforms that need libm -CFLAGS=-DPNG_USER_CONFIG -DNO_GZCOMPRESS -DNO_GZIP -I. $(XINC) -O1 +CFLAGS=-DPNG_USER_CONFIG -DNO_GZCOMPRESS -DZ_SOLO -DNO_GZIP -I. $(XINC) -O1 C=.c O=.o