building rox-2.2.0 with GCC 4.0 fails in toolbar.c due to "tooltips" being declared static after being declared non-static in main.h. gcc -I. -I/var/tmp/portage/rox-2.2.0/work/rox-2.2.0/ROX-Filer/src -O2 -march=pentium3 -fomit-frame-pointer -pipe -fno-ident -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` -c -o toolbar.o /var/tmp/portage/rox-2.2.0/work/rox-2.2.0/ROX-Filer/src/toolbar.c /var/tmp/portage/rox-2.2.0/work/rox-2.2.0/ROX-Filer/src/toolbar.c:64: error: static declaration of 'tooltips' follows non-static declaration /var/tmp/portage/rox-2.2.0/work/rox-2.2.0/ROX-Filer/src/main.h:15: error: previous declaration of 'tooltips' was here this patch was backported from the rox cvs. built and tested on x86.
Created attachment 61522 [details, diff] rox-2.2.0-gcc4.patch
I can confirm that the patch provided allows Rox to compile. Have to add a src_unpack() and inherit eutils in the ebuild, but no problems.
added.