summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2004-03-13 15:53:16 +0000
committerTavis Ormandy <taviso@gentoo.org>2004-03-13 15:53:16 +0000
commitd26638477925de61ec05749d40a8c54ccdeda6fb (patch)
treed398091e5460866ac194947a35b1769440e46896 /media-gfx/optipng/files
parentadd media-libs/faad-2.0 with appropriates patches (Manifest recommit) (diff)
downloadgentoo-2-d26638477925de61ec05749d40a8c54ccdeda6fb.tar.gz
gentoo-2-d26638477925de61ec05749d40a8c54ccdeda6fb.tar.bz2
gentoo-2-d26638477925de61ec05749d40a8c54ccdeda6fb.zip
bad zlib header
Diffstat (limited to 'media-gfx/optipng/files')
-rw-r--r--media-gfx/optipng/files/digest-optipng-0.4.3-r11
-rw-r--r--media-gfx/optipng/files/optipng-0.4.3-r1-more-makefile-options.diff39
2 files changed, 40 insertions, 0 deletions
diff --git a/media-gfx/optipng/files/digest-optipng-0.4.3-r1 b/media-gfx/optipng/files/digest-optipng-0.4.3-r1
new file mode 100644
index 000000000000..f8b671d7617c
--- /dev/null
+++ b/media-gfx/optipng/files/digest-optipng-0.4.3-r1
@@ -0,0 +1 @@
+MD5 3ed23ff9c204d7ffbd0fa6b3c53d830e optipng-0.4.3.tar.gz 555842
diff --git a/media-gfx/optipng/files/optipng-0.4.3-r1-more-makefile-options.diff b/media-gfx/optipng/files/optipng-0.4.3-r1-more-makefile-options.diff
new file mode 100644
index 000000000000..cc60db94cef2
--- /dev/null
+++ b/media-gfx/optipng/files/optipng-0.4.3-r1-more-makefile-options.diff
@@ -0,0 +1,39 @@
+diff -ruN optipng-0.4.3.orig/src/scripts/Makefile.gcc optipng-0.4.3/src/scripts/Makefile.gcc
+--- optipng-0.4.3.orig/src/scripts/Makefile.gcc 2003-05-12 22:11:56.000000000 +0100
++++ optipng-0.4.3/src/scripts/Makefile.gcc 2004-03-13 15:38:59.000000000 +0000
+@@ -3,19 +3,26 @@
+
+ all: optipng
+
+-optipng: optipng.o opngio.o opngreduc.o cbitset.o \
+- wildargs.o libpng.a libz.a
+- gcc -s -o optipng optipng.o opngio.o opngreduc.o cbitset.o \
+- wildargs.o libpng.a libz.a
++optipng: CFLAGS += -I../lib-cos/zlib -I../lib-cos/libpng
++optipng: optipng.o opngio.o opngreduc.o cbitset.o libpng.a libz.a
++ ${CC} ${LDFLAGS} -o optipng optipng.o opngio.o opngreduc.o cbitset.o libpng.a libz.a
++
++optipng-extpng: CFLAGS += -I../lib-cos/zlib
++optipng-extpng: optipng.o opngio.o opngreduc.o cbitset.o libz.a
++ ${CC} ${LDFLAGS} -lpng -o optipng optipng.o opngio.o opngreduc.o cbitset.o libz.a
++
++optipng-extzlib: CFLAGS += -I../lib-cos/libpng
++optipng-extzlib: optipng.o opngio.o opngreduc.o cbitset.o libpng.a
++ ${CC} ${LDFLAGS} -lz -o optipng optipng.o opngio.o opngreduc.o cbitset.o libpng.a
++
++optipng-allext: optipng.o opngio.o opngreduc.o cbitset.o
++ ${CC} ${LDFLAGS} -lpng -lz -o optipng optipng.o opngio.o opngreduc.o cbitset.o
+
+ .c.o: #png.h opng.h
+- gcc -c -O2 -I../lib-cos/zlib -I../lib-cos/libpng -Wall $*.c
++ gcc ${CFLAGS} -c $*.c
+
+ cbitset.o: cbitset.c cbitset.h
+- gcc -c -O2 -Wall $*.c
+-
+-wildargs.o: xtra/wildargs.c
+- gcc -c -O2 xtra/wildargs.c
++ gcc ${CFLAGS} -c $*.c
+
+ libpng.a: ../lib-cos/libpng/libpng.a
+ cp ../lib-cos/libpng/libpng.a libpng.a