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

Bug 317507

Summary: sci-astronomy/celestia-1.6.0 fails to build with gcc-4.5
Product: Gentoo Linux Reporter: Philipp <carlphilippreh>
Component: [OLD] GCC PortingAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: jlp.bugs
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 296658    
Attachments: Proposed fix

Description Philipp 2010-04-27 16:56:13 UTC
celestia has various build issues again.
For example, it declares a global function named abs which conflicts with abs provided by <math.h> or <stdlib.h>.
Comment 1 Philipp 2010-04-27 16:57:31 UTC
Created attachment 229409 [details, diff]
Proposed fix

I haven't tested the gnome useflag as it pulls in too many dependencies for me.
There might be additional fixes needed for +gnome to work.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-24 17:21:06 UTC
+  24 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> celestia-1.6.0.ebuild,
+  +files/celestia-1.6.0-gcc45.patch,
+  +files/celestia-1.6.0-parallel_install.patch:
+  Fix parallel install, fix build with GCC-4.5 wrt bug 317507. Thanks to
+  Philipp <sefi@s-e-f-i.de> for reporting and patch.
+