Summary: | games-sports/torcs-1.3.6 : geometry.cpp:373:15: error: ‘isnan’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mentadent47 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: |
emerge-history.txt
environment games-sports:torcs-1.3.6:20160921-062006.log |
Description
Toralf Förster
2016-09-21 17:02:55 UTC
Created attachment 447106 [details]
emerge-history.txt
Created attachment 447108 [details]
environment
Created attachment 447110 [details]
games-sports:torcs-1.3.6:20160921-062006.log
I'm getting this error almost 8 months later, Gentoo devs must either be really stumped or too busy to be able to do anything. I found a solution. Merely just add this to the end of the src_configure() function: sed -i -e 's/#include <cmath>/#include <cmath>\n#include <math.h>/g' src/drivers/olethros/geometry.cpp If you want this fix right now using my overlay https://github.com/fusion809/fusion809.github.io where I've also bumped the package version to 1.3.7, the latest. commit 1b99de510adbadfd03778f8cdf753ffd1b1e24db Author: Peter Levine <plevine457@gmail.com> Date: Sat May 27 17:05:20 2017 -0400 games-sports/torcs: Fix building with GCC-6 Bug: https://bugs.gentoo.org/show_bug.cgi?id=594670 |