From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-gfx/apngasm/files/apngasm-2.7-string_h.patch | 16 ++++++++++++++++ .../apngasm/files/apngasm-2.91-makefile.patch | 22 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 media-gfx/apngasm/files/apngasm-2.7-string_h.patch create mode 100644 media-gfx/apngasm/files/apngasm-2.91-makefile.patch (limited to 'media-gfx/apngasm/files') diff --git a/media-gfx/apngasm/files/apngasm-2.7-string_h.patch b/media-gfx/apngasm/files/apngasm-2.7-string_h.patch new file mode 100644 index 000000000000..303e832b37c5 --- /dev/null +++ b/media-gfx/apngasm/files/apngasm-2.7-string_h.patch @@ -0,0 +1,16 @@ +http://bugs.gentoo.org/465780 + +Same for all of memcpy(), memset(), strlen() and strcpy(): + +apngasm.c:141:11: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default] + +--- apngasm.c ++++ apngasm.c +@@ -29,6 +29,7 @@ + */ + #include + #include ++#include + #include "png.h" /* original (unpatched) libpng is ok */ + #include "zlib.h" + diff --git a/media-gfx/apngasm/files/apngasm-2.91-makefile.patch b/media-gfx/apngasm/files/apngasm-2.91-makefile.patch new file mode 100644 index 000000000000..b9fb9c20ee89 --- /dev/null +++ b/media-gfx/apngasm/files/apngasm-2.91-makefile.patch @@ -0,0 +1,22 @@ +--- apngasm-2.91-src/Makefile ++++ apngasm-2.91-src/Makefile +@@ -1,8 +1,7 @@ + PACKAGE = apngasm + CC = gcc +-SRC_DIRS = . 7z zopfli +-CFLAGS = -Wall -pedantic -DFEATURE_7ZIP -DFEATURE_ZOPFLI +-CFLAGS_OPT = -O2 ++SRC_DIRS = . 7z ++CFLAGS += -Wall -pedantic + CFLAGS_7Z = -Wno-sign-compare -Wno-reorder -Wno-maybe-uninitialized -Wno-parentheses + LIBS = -lstdc++ -lm -lpng -lz + +@@ -16,7 +15,7 @@ + all : $(PACKAGE) + + $(PACKAGE) : objdirs $(OBJECTS) +- $(CC) -o $@ $(OBJECTS) -s $(LIBS) ++ $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS) + + objdirs : + mkdir -p $(OBJ_DIRS) -- cgit v1.2.3