diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-08-18 00:20:20 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-08-18 00:21:58 -0400 |
commit | 998cec4494f66eb008c8c9ab7c11189def7234fd (patch) | |
tree | f97e80fd1ad67d2420137b87a603f36b21a6a260 /media-gfx/apngdis/files | |
parent | media-gfx/apng2gif: remove old (diff) | |
download | gentoo-998cec4494f66eb008c8c9ab7c11189def7234fd.tar.gz gentoo-998cec4494f66eb008c8c9ab7c11189def7234fd.tar.bz2 gentoo-998cec4494f66eb008c8c9ab7c11189def7234fd.zip |
media-gfx/apngdis: version bump to 2.9
Diffstat (limited to 'media-gfx/apngdis/files')
-rw-r--r-- | media-gfx/apngdis/files/apngdis-2.9-makefile.patch | 18 | ||||
-rw-r--r-- | media-gfx/apngdis/files/apngdis-2.9-zlib.patch | 12 |
2 files changed, 30 insertions, 0 deletions
diff --git a/media-gfx/apngdis/files/apngdis-2.9-makefile.patch b/media-gfx/apngdis/files/apngdis-2.9-makefile.patch new file mode 100644 index 000000000000..08e6b02e4fde --- /dev/null +++ b/media-gfx/apngdis/files/apngdis-2.9-makefile.patch @@ -0,0 +1,18 @@ +--- apngdis-2.9-src/Makefile ++++ apngdis-2.9-src/Makefile +@@ -1,11 +1,10 @@ + PACKAGE = apngdis +-CC = gcc +-CFLAGS = -Wall -pedantic +-CFLAGS_OPT = -O2 +-LIBS = -lstdc++ -lm -lpng -lz ++CC ?= gcc ++CFLAGS += -Wall -pedantic ++LIBS = -lstdc++ -lm -lpng + + all : +- $(CC) $(CFLAGS) $(CFLAGS_OPT) -o $(PACKAGE) $(PACKAGE).cpp -s $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(PACKAGE) $(PACKAGE).cpp $(LIBS) + + .PHONY : clean + diff --git a/media-gfx/apngdis/files/apngdis-2.9-zlib.patch b/media-gfx/apngdis/files/apngdis-2.9-zlib.patch new file mode 100644 index 000000000000..d9ce01007cfb --- /dev/null +++ b/media-gfx/apngdis/files/apngdis-2.9-zlib.patch @@ -0,0 +1,12 @@ +Drop unused zlib header. + +--- apngdis-2.9-src/apngdis.cpp ++++ apngdis-2.9-src/apngdis.cpp +@@ -32,7 +32,6 @@ + #include <string.h>
+ #include <vector>
+ #include "png.h" /* original (unpatched) libpng is ok */
+-#include "zlib.h"
+
+ #define notabc(c) ((c) < 65 || (c) > 122 || ((c) > 90 && (c) < 97))
+
|