1 |
commit: 9b1436c7434d763f06dda60229747997664fb5c5 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 26 15:43:35 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 26 15:43:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b1436c7 |
7 |
|
8 |
games-arcade/epiar: request deprecated lua-5.1 API |
9 |
|
10 |
Closes: https://bugs.gentoo.org/872803 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
games-arcade/epiar/epiar-0.5.1-r1.ebuild | 12 ++++++++++-- |
14 |
1 file changed, 10 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/games-arcade/epiar/epiar-0.5.1-r1.ebuild b/games-arcade/epiar/epiar-0.5.1-r1.ebuild |
17 |
index ba4c0b862a2c..994a9dc22a21 100644 |
18 |
--- a/games-arcade/epiar/epiar-0.5.1-r1.ebuild |
19 |
+++ b/games-arcade/epiar/epiar-0.5.1-r1.ebuild |
20 |
@@ -1,10 +1,10 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=7 |
26 |
|
27 |
LUA_COMPAT=( lua5-1 ) |
28 |
-inherit autotools lua-single |
29 |
+inherit autotools flag-o-matic lua-single |
30 |
|
31 |
DESCRIPTION="Space adventure/combat game" |
32 |
HOMEPAGE="https://epiar.net/" |
33 |
@@ -41,6 +41,14 @@ src_prepare() { |
34 |
eautoreconf |
35 |
} |
36 |
|
37 |
+src_configure() { |
38 |
+ # -DLUA_COMPAT_OPENLIB=1 is required to enable the |
39 |
+ # deprecated (in 5.1) luaL_openlib API (#872803) |
40 |
+ append-cppflags -DLUA_COMPAT_OPENLIB=1 |
41 |
+ |
42 |
+ default |
43 |
+} |
44 |
+ |
45 |
src_install() { |
46 |
default |