Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96550 - [patch] rox-2.2.0 GCC4 patch
Summary: [patch] rox-2.2.0 GCC4 patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-19 14:48 UTC by Ryan Hill (RETIRED)
Modified: 2005-07-10 08:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rox-2.2.0-gcc4.patch (rox-2.2.0-gcc4.patch,746 bytes, patch)
2005-06-19 14:49 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2005-06-19 14:48:29 UTC
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.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2005-06-19 14:49:07 UTC
Created attachment 61522 [details, diff]
rox-2.2.0-gcc4.patch
Comment 2 Charles Pence 2005-07-01 07:19:18 UTC
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.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-07-10 08:28:49 UTC
added.