aboutsummaryrefslogtreecommitdiffstats
path: root/community/optipng/builtin-zlib.patch
diff options
context:
space:
mode:
authorMichael Koloberdin <koloberdin@gmail.com>2016-09-09 16:22:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-19 15:11:27 +0000
commit3e36a3faaf8421c706ec21271060faaa8db4c38e (patch)
treee99d35f9be80cd8126b0fbe6da85ffa3cad697c2 /community/optipng/builtin-zlib.patch
parent09a192e858d693d39ee48eac12ce51c4299b1025 (diff)
downloadaports-3e36a3faaf8421c706ec21271060faaa8db4c38e.tar.bz2
aports-3e36a3faaf8421c706ec21271060faaa8db4c38e.tar.xz
community/optipng: Move from testing
Diffstat (limited to 'community/optipng/builtin-zlib.patch')
-rw-r--r--community/optipng/builtin-zlib.patch14
1 files changed, 14 insertions, 0 deletions
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|