summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-09-11 15:15:58 +0200
committerDavid Seifert <soap@gentoo.org>2022-09-11 15:15:58 +0200
commitf33e6f006040c0657b30fd18185201cff3dc8063 (patch)
treef91e59ae69c6c963d77d67ded280e99891137a4a /games-roguelike
parentsci-mathematics/octave: remove slibtool workaround from v7.2.0. (diff)
downloadgentoo-f33e6f006040c0657b30fd18185201cff3dc8063.tar.gz
gentoo-f33e6f006040c0657b30fd18185201cff3dc8063.tar.bz2
gentoo-f33e6f006040c0657b30fd18185201cff3dc8063.zip
games-roguelike/stone-soup: request deprecated lua-5.1 API
Closes: https://bugs.gentoo.org/869671 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-roguelike')
-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)"