summaryrefslogtreecommitdiff
path: root/media-gfx/gif2apng/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/gif2apng/files
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/gif2apng/files')
-rw-r--r--media-gfx/gif2apng/files/gif2apng-1.9-makefile.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-gfx/gif2apng/files/gif2apng-1.9-makefile.patch b/media-gfx/gif2apng/files/gif2apng-1.9-makefile.patch
new file mode 100644
index 000000000000..2322e214fbf0
--- /dev/null
+++ b/media-gfx/gif2apng/files/gif2apng-1.9-makefile.patch
@@ -0,0 +1,18 @@
+--- gif2apng-1.9-src/Makefile
++++ gif2apng-1.9-src/Makefile
+@@ -1,11 +1,9 @@
+ PACKAGE = gif2apng
+-CC = gcc
+-SRC_DIRS = . 7z zopfli
+-CFLAGS = -Wall -pedantic
+-CFLAGS_OPT = -O2
++CC ?= gcc
++SRC_DIRS = . 7z
++CFLAGS += -Wall -pedantic
+ CFLAGS_7Z = -Wno-sign-compare -Wno-reorder -Wno-maybe-uninitialized -Wno-parentheses
+-LDFLAGS = -s
+-LIBS = -lstdc++ -lm -lz
++LIBS = -lstdc++ -lm -lz -lzopfli
+
+ INCUDE_DIRS := $(addprefix -I./, $(SRC_DIRS))
+ OBJ_DIRS := $(addprefix obj/, $(SRC_DIRS))