From a878bba25483a62161841561bea4968d5d0e0094 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 5 Oct 2025 20:54:14 +0200 Subject: zip: fix gcc 14.x issue --- package/zip/patches/patch-unix_configure | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/zip/patches/patch-unix_configure (limited to 'package/zip/patches/patch-unix_configure') diff --git a/package/zip/patches/patch-unix_configure b/package/zip/patches/patch-unix_configure new file mode 100644 index 000000000..d177b83f8 --- /dev/null +++ b/package/zip/patches/patch-unix_configure @@ -0,0 +1,14 @@ +--- zip30.orig/unix/configure 2008-06-20 05:32:20.000000000 +0200 ++++ zip30/unix/configure 2025-10-05 03:55:24.305239765 +0200 +@@ -519,7 +519,10 @@ done + + + echo Check for memset +-echo "int main(){ char k; memset(&k,0,0); return 0; }" > conftest.c ++cat > conftest.c << _EOF_ ++#include ++int main(){ char k; memset(&k,0,0); return 0; } ++_EOF_ + $CC -o conftest conftest.c >/dev/null 2>/dev/null + [ $? -ne 0 ] && CFLAGS="${CFLAGS} -DZMEM" + -- cgit v1.2.3