Package: ruby-gnome2 Severity: normal Tags: patch When building 'ruby-gnome2' on amd64 with gcc-4.0, I get the following error:
gcc -fPIC -Wall -g -O2 -fPIC -Wall -I/usr/include/libart-2.0 -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I/ruby-gnome2-0.11.0/libart/src -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_PNG_H -DHAVE_JPEGLIB_H -I/usr/local/lib/site_ruby/1.8/x86_64-linux -c rbart_affine.c rbart_affine.c:16: error: static declaration of 'artAffine' follows non-static declaration rbart.h:23: error: previous declaration of 'artAffine' was here make[2]: *** [rbart_affine.o] Error 1 make[2]: Leaving directory `/ruby-gnome2-0.11.0/libart/src' With the attached patch 'ruby-gnome2' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/ruby-gnome2-0.11.0/libart/src/rbart.h ./libart/src/rbart.h --- ../tmp-orig/ruby-gnome2-0.11.0/libart/src/rbart.h 2004-11-14 16:39:34.000000000 +0100 +++ ./libart/src/rbart.h 2005-01-10 17:57:54.462124232 +0100 @@ -20,7 +20,6 @@ #define ULONG2NUM UINT2NUM #endif -extern VALUE artAffine; extern VALUE artSVP; extern VALUE artBpath; extern VALUE artVpath; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

