From: | Jason Zaman <perfinion@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: sys-libs/libsepol/ |
Date: | Sat, 03 Apr 2021 04:19:44 |
Message-Id: | 1617423318.01cd7e88a2e71e5e31375f2ab79c60f1303d7f00.perfinion@gentoo |
1 | commit: 01cd7e88a2e71e5e31375f2ab79c60f1303d7f00 |
2 | Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 | AuthorDate: Thu Mar 18 00:56:57 2021 +0000 |
4 | Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 | CommitDate: Sat Apr 3 04:15:18 2021 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01cd7e88 |
7 | |
8 | sys-libs/libsepol: Sync live ebuild. |
9 | |
10 | Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com> |
11 | Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
12 | |
13 | sys-libs/libsepol/libsepol-9999.ebuild | 15 +++++++-------- |
14 | 1 file changed, 7 insertions(+), 8 deletions(-) |
15 | |
16 | diff --git a/sys-libs/libsepol/libsepol-9999.ebuild b/sys-libs/libsepol/libsepol-9999.ebuild |
17 | index 5b122e23e55..b175e9bfb3a 100644 |
18 | --- a/sys-libs/libsepol/libsepol-9999.ebuild |
19 | +++ b/sys-libs/libsepol/libsepol-9999.ebuild |
20 | @@ -1,12 +1,12 @@ |
21 | -# Copyright 1999-2020 Gentoo Authors |
22 | +# Copyright 1999-2021 Gentoo Authors |
23 | # Distributed under the terms of the GNU General Public License v2 |
24 | |
25 | EAPI="7" |
26 | |
27 | inherit multilib toolchain-funcs multilib-minimal |
28 | |
29 | -MY_P="${P//_/-}" |
30 | -MY_RELEASEDATE="20200710" |
31 | +MY_PV="${PV//_/-}" |
32 | +MY_P="${PN}-${MY_PV}" |
33 | |
34 | DESCRIPTION="SELinux binary policy representation library" |
35 | HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
36 | @@ -14,15 +14,15 @@ HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" |
37 | if [[ ${PV} == 9999 ]]; then |
38 | inherit git-r3 |
39 | EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" |
40 | - S="${WORKDIR}/${MY_P}/${PN}" |
41 | + S="${WORKDIR}/${P}/${PN}" |
42 | else |
43 | - SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz" |
44 | + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" |
45 | KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
46 | S="${WORKDIR}/${MY_P}" |
47 | fi |
48 | |
49 | LICENSE="GPL-2" |
50 | -SLOT="0" |
51 | +SLOT="0/2" |
52 | IUSE="" |
53 | |
54 | DEPEND="" |
55 | @@ -39,8 +39,7 @@ src_prepare() { |
56 | multilib_src_compile() { |
57 | tc-export CC AR RANLIB |
58 | |
59 | - # https://bugs.gentoo.org/706730 |
60 | - local -x CFLAGS="${CFLAGS} -fcommon" |
61 | + local -x CFLAGS="${CFLAGS} -fno-semantic-interposition" |
62 | |
63 | emake \ |
64 | LIBDIR="\$(PREFIX)/$(get_libdir)" \ |