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