diff options
author | eroen <eroen@occam.eroen.eu> | 2016-01-21 20:48:10 +0100 |
---|---|---|
committer | eroen <eroen@occam.eroen.eu> | 2016-01-21 22:55:37 +0100 |
commit | f758abfb7c2669ed42c6d27e22a1b3349000000c (patch) | |
tree | b80db2420156d712406441f8a01052299fdbe280 /games-simulation/dwarffortress | |
parent | dwarffortress-0.42.04 - make worky (diff) | |
download | eroen-f758abfb7c2669ed42c6d27e22a1b3349000000c.tar.gz eroen-f758abfb7c2669ed42c6d27e22a1b3349000000c.tar.bz2 eroen-f758abfb7c2669ed42c6d27e22a1b3349000000c.zip |
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
Diffstat (limited to 'games-simulation/dwarffortress')
-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 78aaad9..2ebee25 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() { |