On Thu, Mar 06, 2003, Michael Schloh wrote:
>   patch -p0 <<'@@ .'
>   Index: openpkg-src/infozip/infozip.patch
>   ============================================================================
>   $ cvs diff -u -r0 -r1.1 infozip.patch
>   --- /dev/null       2003-03-06 22:23:51.000000000 +0100
>   +++ infozip.patch   2003-03-06 22:23:52.000000000 +0100
>   @@ -0,0 +1,12 @@
>   +diff -Naur infozip-20020419.orig/zip-2.3/unix/configure 
> infozip-20020419/zip-2.3/unix/configure
>   +--- infozip-20020419.orig/zip-2.3/unix/configure   1999-04-27 21:49:05.000000000 
> +0200
>   ++++ infozip-20020419/zip-2.3/unix/configure        2003-03-06 21:46:09.399540000 
> +0100
>   +@@ -38,7 +38,7 @@
>   +     echo "int foo() { return 0;}" > conftest.c
>   +     $CC -c conftest.c >/dev/null 2>/dev/null
>   +     echo Check if compiler generates underlines
>   +-    nm conftest.o | grep "(^|[^_])foo" >/dev/null 2>/dev/null
>   ++    nm conftest.o | grep "[^_]foo" >/dev/null 2>/dev/null
>   +     [ $? -eq 0 ] && CPP="${CPP} -DNO_UNDERLINE"
>   +     if eval "$CPP crc_i386.S > _crc_i386.s 2>/dev/null"; then
>   +       if eval "$CC -c _crc_i386.s >/dev/null 2>/dev/null" && [ -f _crc_i386.o ]
Please review this patch, and if nobody complains I'll commit it to the trunk
revisions tomorrow. Infozip is broken on Solaris x86. It tries to use an ASM
construct because it is on x86 architecture. The underlying regex fails to
match however, so configure fails to see that the binutils assembler only
appends underscores on linux and BSD.

Regards,
Michael

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to