Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 6496

Summary: Metacity 2.4.0 fails to build on Gentoo 1.4_beta for PPC
Product: Gentoo Linux Reporter: Brad House <brad>
Component: Current packagesAssignee: Mark Guertin <mguertin>
Status: RESOLVED FIXED    
Severity: critical CC: spider
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix for compilation issue

Description Brad House 2002-08-14 23:45:10 UTC
Gets an ICE while compiling MetaCity.
Error occurs in src/screen.c
Comment 1 Brad House 2002-08-14 23:46:18 UTC
Created attachment 3085 [details, diff]
Fix for compilation issue

standard patch file...
just fixes compilation issue... there may be other problems
with metacity on PPC that need to be worked out.
Comment 2 Mark Guertin 2002-08-15 00:10:44 UTC
Spider:

I looked at the metacity ebuild, but I have no idea about how to add a patch to
it ;)  How is this done?  If you can do this or tell me how I would like to
apply this ASAP as it's 100% b0rked on ppc w/ gcc 3.2 ATM :(

Comment 3 Spider (RETIRED) gentoo-dev 2002-08-15 04:26:43 UTC
just do it as normal in 

src_unpack ()  {
unpack ${A}
if [ARCH] ; then
  patch -p0 < PATCH || die "A horried ppc death"
fi
}
Comment 4 Mark Guertin 2002-08-15 11:10:05 UTC
Thanks Spider

Patch is tested and added

Thanks Brad :)