Summary: | games-fps/quake2-icculus-0.16.1-r1 : src/.../g_local.h: fatal error: bits/nan.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=770904 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 637144 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 games-fps:quake2-icculus-0.16.1-r1:20200824-094654.log temp.tbz2 |
Description
Toralf Förster
2020-08-24 15:55:21 UTC
Created attachment 656474 [details]
emerge-info.txt
Created attachment 656476 [details]
emerge-history.txt
Created attachment 656478 [details]
environment
Created attachment 656480 [details]
etc.portage.tbz2
Created attachment 656482 [details]
games-fps:quake2-icculus-0.16.1-r1:20200824-094654.log
Created attachment 656484 [details]
temp.tbz2
It appears as if we need to change line 25 of src/rogue/g_local.h to #include math.h instead of bits/nan.h Doing so allowed my to finish the compile. I found this by reading nan.h on a different architecture, where it says to use math.h instead of including nan.h directly. https://aur.archlinux.org/cgit/aur.git/tree/updates_for_gcc.patch?h=quake2 Here's the same. Can confirm, builds fine with bits/nan.h changed to math.h |