diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/pngtoico/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/pngtoico/files')
-rw-r--r-- | media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch | 15 | ||||
-rw-r--r-- | media-gfx/pngtoico/files/pngtoico-1.0.1-libpng15.patch | 11 |
2 files changed, 26 insertions, 0 deletions
diff --git a/media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch b/media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch new file mode 100644 index 000000000000..77d86dc52446 --- /dev/null +++ b/media-gfx/pngtoico/files/pngtoico-1.0.1-Makefile.patch @@ -0,0 +1,15 @@ +--- Makefile 2002-01-01 22:46:46.000000000 +0000 ++++ Makefile.new 2002-11-11 01:11:12.000000000 +0000 +@@ -21,9 +21,9 @@ + man1dir = $(mandir)/man1 + + CC = gcc -W -Wall +-CFLAGS = -O2 -fomit-frame-pointer +-LDFLAGS = -s +-LIBS = -lpng ++CFLAGS += -fomit-frame-pointer `libpng-config --cflags` ++LDFLAGS += `libpng-config --ldflags` ++LIBS = `libpng-config --libs` + INSTALL = install + INSTALL_EXEC = $(INSTALL) -c -m 755 + INSTALL_DATA = $(INSTALL) -c -m 644 diff --git a/media-gfx/pngtoico/files/pngtoico-1.0.1-libpng15.patch b/media-gfx/pngtoico/files/pngtoico-1.0.1-libpng15.patch new file mode 100644 index 000000000000..c81b25ade627 --- /dev/null +++ b/media-gfx/pngtoico/files/pngtoico-1.0.1-libpng15.patch @@ -0,0 +1,11 @@ +--- pngtoico.c ++++ pngtoico.c +@@ -188,7 +188,7 @@ + goto perrexit; + } + +- if ( setjmp(png_ptr->jmpbuf) ) { ++ if ( setjmp(png_jmpbuf(png_ptr)) ) { + fprintf(stderr, "%s: PNG format error\n", file); + goto errexit; + } |