From 59ad6e21eac75fcdd3aeb84b430e32a3366c2fec Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 4 Mar 2013 14:23:19 +0400 Subject: zip 3.0 with Debian patches --- zip/patches/04-do-not-set-unwanted-cflags | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 zip/patches/04-do-not-set-unwanted-cflags (limited to 'zip/patches/04-do-not-set-unwanted-cflags') diff --git a/zip/patches/04-do-not-set-unwanted-cflags b/zip/patches/04-do-not-set-unwanted-cflags new file mode 100644 index 0000000..35c4238 --- /dev/null +++ b/zip/patches/04-do-not-set-unwanted-cflags @@ -0,0 +1,15 @@ +From: Santiago Vila +Subject: Do not set unwanted CFLAGS, as it breaks DEB_BUILD_OPTIONS +X-Debian-version: 2.32-1 + +--- a/unix/configure ++++ b/unix/configure +@@ -98,7 +98,7 @@ + _EOF_ + $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null + if test $? -eq 0; then +- CFLAGS_OPT='-O3' ++ # CFLAGS_OPT='-O3' + echo " GNU C ($CFLAGS_OPT)" + # Special Mac OS X shared library "ld" option? + if test ` uname -s 2> /dev/null ` = 'Darwin'; then -- cgit v1.2.3