Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566462 - games-roguelike/dwarf-fortress libgraphics.so stripped of symbols causes dfhack to fail
Summary: games-roguelike/dwarf-fortress libgraphics.so stripped of symbols causes dfha...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Xu (Hello71)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-22 14:04 UTC by Nigel George
Modified: 2015-12-13 20:16 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nigel George 2015-11-22 14:04:06 UTC
Bug:
  Due to symbols, specifically _ZN8rendererD1Ev, being stripped from libgraphics.so breaks compatibility with the extremely popular dfhack mod.

Request:
  Also, is it possible to have the script /usr/games/bin/dwarf-fortress check for ./dfhack if present and call that in preference to ./libs/Dwarf_Fortress

Use who want dfhack could install to their ~/dwarf-fortress copy, and users who don't would still have standard. And all executed from the script.

if [[ -f "$install/dfhack" ]]; then
  exec ./dfhack "$@"
else
  exec ./libs/Dwarf_Fortress "$@"
fi

Something like that maybe?
Comment 1 Chris Reffett (RETIRED) gentoo-dev Security 2015-12-13 20:16:32 UTC
I'd rather not add the check for dfhack -- after that, everyone will want an extra check for something or other. I'm okay with adding RESTRICT=strip though, done in 42.0.02.