Package: gfs Severity: normal Tags: patch When building 'gfs' on amd64 with gcc-4.0, I get the following error:
gcc -MMD -c -I/gfs-0.trunk20050206/debian/include -Wall -I../include -I../config -D_FILE_OFFSET_BITS=64 -DHELPER_PROGRAM -DGFS_RELEASE_NAME=\"DEVEL.1109694911\" -Wall -g bio.c -o bio.o bio.c: In function 'relse_buf': bio.c:81: error: invalid lvalue in assignment make[2]: *** [bio.o] Error 1 make[2]: Leaving directory `/gfs-0.trunk20050206/gfs_fsck' With the attached patch 'gfs' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/gfs-0.trunk20050206/gfs_fsck/bio.c ./gfs_fsck/bio.c --- ../tmp-orig/gfs-0.trunk20050206/gfs_fsck/bio.c 2005-02-06 14:38:39.000000000 +0100 +++ ./gfs_fsck/bio.c 2005-03-01 17:33:41.534650980 +0100 @@ -78,7 +78,7 @@ if(bh){ if(BH_DATA(bh)) { free(BH_DATA(bh)); - BH_DATA(bh) = NULL; + bh->b_data = NULL; } free(bh); bh = NULL; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]