summarylogtreecommitdiffstats
path: root/00.optipng.patch
diff options
context:
space:
mode:
Diffstat (limited to '00.optipng.patch')
-rw-r--r--00.optipng.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/00.optipng.patch b/00.optipng.patch
new file mode 100644
index 000000000000..0c02a0ce1140
--- /dev/null
+++ b/00.optipng.patch
@@ -0,0 +1,17 @@
+--- makepkg-optimize
++++ makepkg-optimize
+@@ -1556,6 +1556,14 @@
+ fi
+ fi
+
++ # optipng - PNG image optimization
++ if check_option "optipng" "y"; then
++ if ! type -p optipng >/dev/null; then
++ error "$(gettext "Cannot find the %s binary required for optimizing PNG images.")" "optipng"
++ ret=1
++ fi
++ fi
++
+ # distcc - compilation with distcc
+ if check_buildoption "distcc" "y"; then
+ if ! type -p distcc >/dev/null; then