Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-emulation/dosbox-x/
Date: Wed, 24 Aug 2022 15:52:32
Message-Id: 1661284699.d1ff3cc3ee1e50e94bf9b49660c515d27a3a15de.tastytea@gentoo
1 commit: d1ff3cc3ee1e50e94bf9b49660c515d27a3a15de
2 Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
3 AuthorDate: Tue Aug 23 19:57:43 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Tue Aug 23 19:58:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d1ff3cc3
7
8 games-emulation/dosbox-x: Filter LTO flags
9
10 Closes: https://bugs.gentoo.org/859973
11 Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
12
13 games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild | 7 ++++++-
14 games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild | 7 ++++++-
15 games-emulation/dosbox-x/dosbox-x-9999.ebuild | 7 ++++++-
16 3 files changed, 18 insertions(+), 3 deletions(-)
17
18 diff --git a/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild b/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild
19 index bc26e3bdb..55c5d316c 100644
20 --- a/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild
21 +++ b/games-emulation/dosbox-x/dosbox-x-0.84.1.ebuild
22 @@ -3,7 +3,7 @@
23
24 EAPI=8
25
26 -inherit autotools toolchain-funcs xdg
27 +inherit autotools flag-o-matic toolchain-funcs xdg
28
29 if [[ "${PV}" == 9999 ]]; then
30 inherit git-r3
31 @@ -106,6 +106,11 @@ src_prepare() {
32 die "Failed to remove check for setcap in Makefile.am"
33
34 eautoreconf
35 +
36 + # https://bugs.gentoo.org/859973
37 + # https://github.com/joncampbell123/dosbox-x/issues/3663
38 + # No upstream response regarding LTO yet; disable it for now
39 + filter-lto
40 }
41
42 src_configure() {
43
44 diff --git a/games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild b/games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild
45 index 8605437e9..55b6b1acc 100644
46 --- a/games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild
47 +++ b/games-emulation/dosbox-x/dosbox-x-2022.08.0.ebuild
48 @@ -3,7 +3,7 @@
49
50 EAPI=8
51
52 -inherit autotools toolchain-funcs xdg
53 +inherit autotools flag-o-matic toolchain-funcs xdg
54
55 if [[ "${PV}" == 9999 ]]; then
56 inherit git-r3
57 @@ -101,6 +101,11 @@ src_prepare() {
58 die "Failed to remove check for setcap in Makefile.am"
59
60 eautoreconf
61 +
62 + # https://bugs.gentoo.org/859973
63 + # https://github.com/joncampbell123/dosbox-x/issues/3663
64 + # No upstream response regarding LTO yet; disable it for now
65 + filter-lto
66 }
67
68 src_configure() {
69
70 diff --git a/games-emulation/dosbox-x/dosbox-x-9999.ebuild b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
71 index 8605437e9..55b6b1acc 100644
72 --- a/games-emulation/dosbox-x/dosbox-x-9999.ebuild
73 +++ b/games-emulation/dosbox-x/dosbox-x-9999.ebuild
74 @@ -3,7 +3,7 @@
75
76 EAPI=8
77
78 -inherit autotools toolchain-funcs xdg
79 +inherit autotools flag-o-matic toolchain-funcs xdg
80
81 if [[ "${PV}" == 9999 ]]; then
82 inherit git-r3
83 @@ -101,6 +101,11 @@ src_prepare() {
84 die "Failed to remove check for setcap in Makefile.am"
85
86 eautoreconf
87 +
88 + # https://bugs.gentoo.org/859973
89 + # https://github.com/joncampbell123/dosbox-x/issues/3663
90 + # No upstream response regarding LTO yet; disable it for now
91 + filter-lto
92 }
93
94 src_configure() {