commit: 2f0ab537aa3c03758227bf854da85b0eda28fee5 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Oct 28 13:04:30 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Oct 28 13:21:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f0ab537
dev-util/geany-plugins: fix Lua 5.1 deprecated API implicit. func. decls Closes: https://bugs.gentoo.org/878529 Signed-off-by: Sam James <sam <AT> gentoo.org> .../{geany-plugins-1.38-r2.ebuild => geany-plugins-1.38-r3.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/geany-plugins/geany-plugins-1.38-r2.ebuild b/dev-util/geany-plugins/geany-plugins-1.38-r3.ebuild similarity index 93% rename from dev-util/geany-plugins/geany-plugins-1.38-r2.ebuild rename to dev-util/geany-plugins/geany-plugins-1.38-r3.ebuild index 5cd0d8af7efd..f74c64c1a2e0 100644 --- a/dev-util/geany-plugins/geany-plugins-1.38-r2.ebuild +++ b/dev-util/geany-plugins/geany-plugins-1.38-r3.ebuild @@ -5,7 +5,7 @@ EAPI=8 LUA_COMPAT=( lua5-1 ) -inherit lua-single +inherit flag-o-matic lua-single DESCRIPTION="A collection of different plugins for Geany" HOMEPAGE="https://plugins.geany.org" @@ -52,6 +52,10 @@ pkg_setup() { } src_configure() { + # -DLUA_COMPAT_OPENLIB=1 is required to enable the + # deprecated (in 5.1) luaL_openlib API (#878529) + use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1 + local myeconfargs=( --disable-cppcheck --disable-extra-c-warnings