diff options
Diffstat (limited to 'media-gfx/apng2gif/files/apng2gif-1.6-makefile.patch')
-rw-r--r-- | media-gfx/apng2gif/files/apng2gif-1.6-makefile.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-gfx/apng2gif/files/apng2gif-1.6-makefile.patch b/media-gfx/apng2gif/files/apng2gif-1.6-makefile.patch new file mode 100644 index 00000000000..c004a3c5c0c --- /dev/null +++ b/media-gfx/apng2gif/files/apng2gif-1.6-makefile.patch @@ -0,0 +1,17 @@ +--- apng2gif-1.6-src/Makefile ++++ apng2gif-1.6-src/Makefile +@@ -1,11 +1,10 @@ + PACKAGE = apng2gif +-CC = gcc +-CFLAGS = -Wall -pedantic +-CFLAGS_OPT = -O2 ++CXX ?= g++ ++CFLAGS += -Wall -pedantic + LIBS = -lstdc++ -lm -lpng -lz + + all : +- $(CC) $(CFLAGS) $(CFLAGS_OPT) -o apng2gif apng2gif.cpp -s $(LIBS) ++ $(CXX) $(CFLAGS) $(LDFLAGS) -o apng2gif apng2gif.cpp $(LIBS) + + .PHONY : clean + |