diff options
| author | eroen | 2016-01-21 20:48:10 +0100 |
|---|---|---|
| committer | eroen | 2016-01-21 22:55:37 +0100 |
| commit | f758abfb7c2669ed42c6d27e22a1b3349000000c (patch) | |
| tree | b80db2420156d712406441f8a01052299fdbe280 | |
| parent | a633d355bdfb405f36c0d90e8786ae2b4ccb3de3 (diff) | |
| download | eroen-overlay-f758abfb7c2669ed42c6d27e22a1b3349000000c.tar.gz eroen-overlay-f758abfb7c2669ed42c6d27e22a1b3349000000c.tar.bz2 eroen-overlay-f758abfb7c2669ed42c6d27e22a1b3349000000c.tar.xz | |
dwarffortress-0.42.04 - Tune ebuild for dfhack
pax-mark -m
./libs/Dwarf_Fortress: error while loading shared libraries:
/usr/share/games/hack/libdfhack.so: cannot make segment writable for
relocation: Permission denied
filter -O*
./libs/Dwarf_Fortress: symbol lookup error:
/usr/share/games/hack/libdfhack.so: undefined symbol: _ZN8rendererD1Ev
| -rw-r--r-- | games-simulation/dwarffortress/dwarffortress-0.42.04.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games-simulation/dwarffortress/dwarffortress-0.42.04.ebuild b/games-simulation/dwarffortress/dwarffortress-0.42.04.ebuild index 78aaad9e..2ebee252 100644 --- a/games-simulation/dwarffortress/dwarffortress-0.42.04.ebuild +++ b/games-simulation/dwarffortress/dwarffortress-0.42.04.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit eutils games multilib versionator +inherit eutils flag-o-matic pax-utils games multilib versionator MY_PV=$(replace_all_version_separators _ "$(get_version_component_range 2-)") MY_PN=df @@ -46,6 +46,9 @@ pkg_setup() { games_pkg_setup multilib_toolchain_setup x86 + + # dfhack needs symbols that are removed from libgraphics with optimization + filter-flags '-O*' } src_prepare() { @@ -76,6 +79,10 @@ src_install() { prepgamesdirs fperms 750 "${gamesdir}"/libs/Dwarf_Fortress + + # PAX marking for dfhack. PTPAX markings change the md5 hash of the + # executable, and breaks version detection in dfhack + PAX_MARKINGS=XT pax-mark -m "${ED%/}${gamesdir}"/libs/Dwarf_Fortress } pkg_postinst() { |
