fix config so it works with gcc-2.8
This commit is contained in:
parent
1abee69d44
commit
e1dded1f93
11
archivers/zip/patches/patch-af
Normal file
11
archivers/zip/patches/patch-af
Normal file
@ -0,0 +1,11 @@
|
||||
--- unix/configure.~1~ Wed Apr 24 11:13:49 1996
|
||||
+++ unix/configure Tue Apr 7 21:35:01 1998
|
||||
@@ -126,7 +126,7 @@
|
||||
done
|
||||
|
||||
echo Check for memset
|
||||
-echo "int main(){ memset(); return 0; }" > conftest.c
|
||||
+echo "int main(){ char buf[ 2 ]; memset(buf, 0, 2); return 0; }" > conftest.c
|
||||
$CC conftest.c >/dev/null 2>/dev/null
|
||||
[ $? -ne 0 ] && CFLAGS="${CFLAGS} -DZMEM"
|
||||
|
Loading…
Reference in New Issue
Block a user