infozip.patch 737 B

12345678910111213
  1. diff -Naur infozip-20020419.orig/zip-2.3/unix/configure infozip-20020419/zip-2.3/unix/configure
  2. --- infozip-20020419.orig/zip-2.3/unix/configure 1999-04-27 21:49:05.000000000 +0200
  3. +++ infozip-20020419/zip-2.3/unix/configure 2003-03-06 21:46:09.399540000 +0100
  4. @@ -38,7 +38,7 @@
  5. echo "int foo() { return 0;}" > conftest.c
  6. $CC -c conftest.c >/dev/null 2>/dev/null
  7. echo Check if compiler generates underlines
  8. - nm conftest.o | grep "(^|[^_])foo" >/dev/null 2>/dev/null
  9. + nm conftest.o | grep "[^_]foo" >/dev/null 2>/dev/null
  10. [ $? -eq 0 ] && CPP="${CPP} -DNO_UNDERLINE"
  11. if eval "$CPP crc_i386.S > _crc_i386.s 2>/dev/null"; then
  12. if eval "$CC -c _crc_i386.s >/dev/null 2>/dev/null" && [ -f _crc_i386.o ]