Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18294 - sawfish-1.3 + gcc-2.95 => compilation failure
Summary: sawfish-1.3 + gcc-2.95 => compilation failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-27 09:24 UTC by TGL
Modified: 2003-04-01 16:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2003-03-27 09:24:04 UTC
I am still a gcc-2.95 user, and I still have the same compilation error I had in
bug #13329 when I try to compile the new sawfish-1.3. The problem seems to be a
"-I/usr/include" in CFLAGS, wich creates a confusion between freetype and
freetype2 headers. To be precise, it comes from REP_CFLAGS, defined in Makedefs.

My fix to that is to modify Makedefs after the ./configure, in src_compile():
./configure --host=${CHOST} \
	[...]
mv Makedefs Makedefs.orig
sed -e s:'REP_CFLAGS=':'REP-CFLAGS=-I/usr/include/freetype2 ': Makedefs.orig >
Makedefs
[...]

Hope this helps,

Thomas.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2003-04-01 16:18:26 UTC
OK, fixed on cvs in sawfish-1.3 (should be hitting rsync within an hour)