Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/stgit/
Date: Fri, 17 Mar 2023 21:13:41
Message-Id: 1679087599.d4840720dd19e04b3f366990a9e43f6e88a11ee1.dlan@gentoo
1 commit: d4840720dd19e04b3f366990a9e43f6e88a11ee1
2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 17 21:12:11 2023 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 17 21:13:19 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4840720
7
8 dev-vcs/stgit: filter out LTO flags
9
10 Closes: https://bugs.gentoo.org/897692
11 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
12
13 dev-vcs/stgit/stgit-2.1.0.ebuild | 6 +++++-
14 dev-vcs/stgit/stgit-2.2.0.ebuild | 6 +++++-
15 2 files changed, 10 insertions(+), 2 deletions(-)
16
17 diff --git a/dev-vcs/stgit/stgit-2.1.0.ebuild b/dev-vcs/stgit/stgit-2.1.0.ebuild
18 index 695bde8fecfd..20fc837b2e4e 100644
19 --- a/dev-vcs/stgit/stgit-2.1.0.ebuild
20 +++ b/dev-vcs/stgit/stgit-2.1.0.ebuild
21 @@ -123,7 +123,7 @@ CRATES="
22 xattr-0.2.3
23 "
24
25 -inherit cargo
26 +inherit cargo flag-o-matic
27
28 DESCRIPTION="Manage a stack of patches using GIT as a backend"
29 HOMEPAGE="https://stacked-git.github.io"
30 @@ -144,6 +144,10 @@ RDEPEND=""
31 # update with proper path to binaries this crate installs, omit leading /
32 QA_FLAGS_IGNORED="usr/bin/${PN}"
33
34 +src_configure() {
35 + filter-lto #bug 897692
36 +}
37 +
38 src_compile() {
39 cargo_src_compile
40 emake completion
41
42 diff --git a/dev-vcs/stgit/stgit-2.2.0.ebuild b/dev-vcs/stgit/stgit-2.2.0.ebuild
43 index c1d5ca48fd91..5c031f871323 100644
44 --- a/dev-vcs/stgit/stgit-2.2.0.ebuild
45 +++ b/dev-vcs/stgit/stgit-2.2.0.ebuild
46 @@ -175,7 +175,7 @@ CRATES="
47 xattr-0.2.3
48 "
49
50 -inherit cargo
51 +inherit cargo flag-o-matic
52
53 DESCRIPTION="Manage a stack of patches using GIT as a backend"
54 HOMEPAGE="https://stacked-git.github.io"
55 @@ -196,6 +196,10 @@ RDEPEND=""
56 # update with proper path to binaries this crate installs, omit leading /
57 QA_FLAGS_IGNORED="usr/bin/${PN}"
58
59 +src_configure() {
60 + filter-lto #bug 897692
61 +}
62 +
63 src_compile() {
64 cargo_src_compile
65 emake completion