Package: libxslt-ruby Severity: normal Tags: patch When building 'libxslt-ruby' on amd64 with gcc-4.0, I get the following error:
make[1]: Entering directory `/libxslt-ruby-0.3.4' gcc -fPIC -g -Wall-Wall -g -O2 -fPIC -I/usr/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I. -DHAVE_ZLIB_H -DHAVE_RUBY_XML_DOCUMENT_H -I./debian/include -c libxslt.c cc1: error: unrecognized command line option "-Wall-Wall" make[1]: *** [libxslt.o] Error 1 make[1]: Leaving directory `/libxslt-ruby-0.3.4' make: *** [debian/stamp-makefile-build] Error 2 With the attached patch 'libxslt-ruby' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/libxslt-ruby-0.3.4/extconf.rb ./extconf.rb --- ../tmp-orig/libxslt-ruby-0.3.4/extconf.rb 2002-10-23 07:47:51.000000000 +0200 +++ ./extconf.rb 2005-03-02 16:35:32.672271700 +0100 @@ -56,7 +56,7 @@ $CFLAGS << ' ' + `xslt-config --cflags`.chomp $CFLAGS << ' ' + `xml2-config --cflags`.chomp -$CFLAGS = '-g -Wall' + $CFLAGS +$CFLAGS = '-g -Wall ' + $CFLAGS create_header() -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

