From 3e36a3faaf8421c706ec21271060faaa8db4c38e Mon Sep 17 00:00:00 2001 From: Michael Koloberdin Date: Fri, 9 Sep 2016 16:22:30 +0000 Subject: community/optipng: Move from testing --- community/optipng/builtin-zlib.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 community/optipng/builtin-zlib.patch (limited to 'community/optipng/builtin-zlib.patch') diff --git a/community/optipng/builtin-zlib.patch b/community/optipng/builtin-zlib.patch new file mode 100644 index 0000000000..a09cdad1d4 --- /dev/null +++ b/community/optipng/builtin-zlib.patch @@ -0,0 +1,14 @@ +diff -urp optipng-0.7.6-orig/configure optipng-0.7.6/configure +--- optipng-0.7.6-orig/configure 2014-12-01 07:25:00.000000000 +0200 ++++ optipng-0.7.6/configure 2016-05-17 20:56:08.950224977 +0300 +@@ -234,6 +234,10 @@ then + fi + if test "$CPPFLAGS" + then ++ if test "$with_system_zlib" -eq 0 ++ then ++ CPPFLAGS="-I../zlib ${CPPFLAGS}" ++ fi + sed_preconfig_libpng=" + $sed_preconfig_libpng + s|^CPPFLAGS *=.*|CPPFLAGS = $CPPFLAGS| -- cgit v1.2.3