Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317507 - sci-astronomy/celestia-1.6.0 fails to build with gcc-4.5
Summary: sci-astronomy/celestia-1.6.0 fails to build with gcc-4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: gcc-4.5
  Show dependency tree
 
Reported: 2010-04-27 16:56 UTC by Philipp
Modified: 2010-06-24 17:21 UTC (History)
1 user (show)

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


Attachments
Proposed fix (celestia-1.6.0-gcc45.patch,1.39 KB, patch)
2010-04-27 16:57 UTC, Philipp
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.
+