Package: raster3d Version: 2.7c-4 Severity: normal Tags: patch When building 'raster3d' on amd64/unstable with gcc-4.0, I get the following error:
g77 -g -O -w -malign-double -o balls balls.f balls.f:0: error: -malign-double makes no sense in the 64bit mode make[1]: *** [balls] Error 1 make[1]: Leaving directory `/raster3d-2.7c' make: *** [debian/stamp-makefile-build] Error 2 With the attached patch 'raster3d' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/raster3d-2.7c/Makefile.incl ./Makefile.incl --- ../tmp-orig/raster3d-2.7c/Makefile.incl 2005-06-15 12:51:03.000000000 +0200 +++ ./Makefile.incl 2005-06-15 12:50:50.000000000 +0200 @@ -73,7 +73,7 @@ CC = gcc CFLAGS = -g -O2 -w FC = g77 -FFLAGS = -g -O -w -malign-double +FFLAGS = -g -O -w RM = /bin/rm -f OSDEFS = -DLINUX -DNETWORKBYTEORDER include Makefile.package diff -urN ../tmp-orig/raster3d-2.7c/debian/patches/Makefile.diff ./debian/patches/Makefile.diff --- ../tmp-orig/raster3d-2.7c/debian/patches/Makefile.diff 2005-06-15 12:51:03.000000000 +0200 +++ ./debian/patches/Makefile.diff 2005-06-15 12:26:07.000000000 +0200 @@ -7,7 +7,8 @@ - @echo CFLAGS = -g -m486 -w >> Makefile.incl + @echo CFLAGS = -g -O2 -w >> Makefile.incl @echo FC = g77 >> Makefile.incl - @echo FFLAGS = -g -O -w -malign-double>> Makefile.incl +- @echo FFLAGS = -g -O -w -malign-double>> Makefile.incl ++ @echo FFLAGS = -g -O -w >> Makefile.incl @echo RM = /bin/rm -f >> Makefile.incl @@ -211,12 +211,14 @@ install: all -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]