summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/stone-soup/stone-soup-0.29.0.ebuild')
-rw-r--r--games-roguelike/stone-soup/stone-soup-0.29.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild b/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild
index 82b2a07eb9c3..dfe12e5420ae 100644
--- a/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild
@@ -142,7 +142,9 @@ src_compile() {
BUILD_LUA=
AR="$(tc-getAR)"
CFOPTIMIZE=''
- CFOTHERS="${CXXFLAGS}"
+ # -DLUA_COMPAT_OPENLIB=1 is required to enable the
+ # deprecated (in 5.1) luaL_openlib API (#869671)
+ CFOTHERS="${CXXFLAGS} -DLUA_COMPAT_OPENLIB=1"
CONTRIBS=
DATADIR="/usr/share/${PN}-${SLOT}"
FORCE_CC="$(tc-getCC)"