Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640700 - games-engines/exult-9999 - ?
Summary: games-engines/exult-9999 - ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-11 15:53 UTC by Johannes Geiss
Modified: 2017-12-15 10:30 UTC (History)
0 users

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


Attachments
emerge --info (file_640700.txt,7.03 KB, text/plain)
2017-12-11 15:53 UTC, Johannes Geiss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Geiss 2017-12-11 15:53:55 UTC
Created attachment 509364 [details]
emerge --info

Exult fails to compile with gcc 6.4 due to std::abs() in imagewin/scale_xbr.h.

Inserting

sed -i "s/abs(/abs((long)/g" imagewin/scale_xbr.h

in src_prepare() of the ebuild fixes this problem. Though I think it's not a good workaround.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-14 22:59:31 UTC
Looks like they moved to Github. The SF svnserve is so slow.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-14 23:12:05 UTC
OK, with that out of the way, I can't reproduce this with GCC 6.4.0 at all. Please attach the entire build log to this bug report.
Comment 3 Johannes Geiss 2017-12-15 10:30:43 UTC
It seems changing to the current repository (github), the error is gone. I, also, wasn't able to reproduce the error any more.