summaryrefslogtreecommitdiff
path: root/package/unzip/patches/patch-unix_configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-27 14:27:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-27 14:27:45 +0200
commite750323c87c297897ba2c3d3b307c66286a1168c (patch)
tree4271b9ad1e30643e5259531900799f43f13ea0d9 /package/unzip/patches/patch-unix_configure
parent883823056de84e3ee5288ccf39818db887f25f79 (diff)
xbmc checks for unzip/zip
Diffstat (limited to 'package/unzip/patches/patch-unix_configure')
-rw-r--r--package/unzip/patches/patch-unix_configure26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/unzip/patches/patch-unix_configure b/package/unzip/patches/patch-unix_configure
new file mode 100644
index 000000000..9f8809651
--- /dev/null
+++ b/package/unzip/patches/patch-unix_configure
@@ -0,0 +1,26 @@
+--- unzip60.orig/unix/configure 2009-04-16 21:25:12.000000000 +0200
++++ unzip60/unix/configure 2014-05-27 14:26:43.375494965 +0200
+@@ -130,11 +130,9 @@ _EOF_
+ fi
+ fi
+
+-# optimization flags
+-if test -n "${CFLAGS_OPT}"; then
+- CFLAGSR="${CFLAGSR} ${CFLAGS_OPT}"
+- CFLAGS_BZ="${CFLAGS_BZ} ${CFLAGS_OPT}"
+-fi
++CFLAGSR="${CFLAGSR}"
++CFLAGS_BZ="${CFLAGS_BZ}"
++
+
+ echo Check for the C preprocessor
+ # on SVR4, cc -E does not produce correct assembler files. Need /lib/cpp.
+@@ -433,7 +431,7 @@ if [ $? -ne 0 ]; then
+ if [ ${OPT} ]; then
+ LFLAGS2="${LFLAGS2} ${OPT}"
+ else
+- CFLAGSR="${CFLAGSR} -DNO_DIR"
++ CFLAGSR="${CFLAGSR}"
+ fi
+ fi
+