Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libaio/
Date: Wed, 24 Aug 2022 07:04:08
Message-Id: 1661324599.1b086d2e0d5a106019ba96977e9d10aa81dae629.sam@gentoo
1 commit: 1b086d2e0d5a106019ba96977e9d10aa81dae629
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 24 06:53:37 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 24 07:03:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b086d2e
7
8 dev-libs/libaio: filter LTO
9
10 Upstream aren't interested in supporting it & build fails.
11
12 Thanks-to: immolo <immoloism <AT> gmail.com>
13 Closes: https://bugs.gentoo.org/855698
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 dev-libs/libaio/libaio-0.3.113.ebuild | 3 +++
17 dev-libs/libaio/libaio-9999.ebuild | 5 ++++-
18 2 files changed, 7 insertions(+), 1 deletion(-)
19
20 diff --git a/dev-libs/libaio/libaio-0.3.113.ebuild b/dev-libs/libaio/libaio-0.3.113.ebuild
21 index 9cc009f24bd3..b79118f16af3 100644
22 --- a/dev-libs/libaio/libaio-0.3.113.ebuild
23 +++ b/dev-libs/libaio/libaio-0.3.113.ebuild
24 @@ -44,6 +44,9 @@ src_prepare() {
25 }
26
27 multilib_src_configure() {
28 + # Upstream aren't interested in fixing: bug #855698
29 + filter-lto
30 +
31 if use arm ; then
32 # When building for thumb, we can't allow frame pointers.
33 # http://crbug.com/464517
34
35 diff --git a/dev-libs/libaio/libaio-9999.ebuild b/dev-libs/libaio/libaio-9999.ebuild
36 index d649103522c5..db2f93f97564 100644
37 --- a/dev-libs/libaio/libaio-9999.ebuild
38 +++ b/dev-libs/libaio/libaio-9999.ebuild
39 @@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]] ; then
40 EGIT_REPO_URI="https://pagure.io/libaio.git"
41 else
42 SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz"
43 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
44 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
45 fi
46 LICENSE="LGPL-2"
47 SLOT="0"
48 @@ -43,6 +43,9 @@ src_prepare() {
49 }
50
51 multilib_src_configure() {
52 + # Upstream aren't interested in fixing: bug #855698
53 + filter-lto
54 +
55 if use arm ; then
56 # When building for thumb, we can't allow frame pointers.
57 # http://crbug.com/464517