summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-04 20:09:55 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-04 20:09:55 +0100
commitde09050c4aac94f373b6e2354990bbc6566ac01c (patch)
tree9d46d364e415ab01c25c375fd242c26f15bf93f2 /sys-libs/libselinux
parentdev-ruby/xdr: drop myself as a maintainer (diff)
downloadgentoo-de09050c4aac94f373b6e2354990bbc6566ac01c.tar.gz
gentoo-de09050c4aac94f373b6e2354990bbc6566ac01c.tar.bz2
gentoo-de09050c4aac94f373b6e2354990bbc6566ac01c.zip
sys-libs/libselinux: Apply musl-1.2.4 largefile workaround
Bug: https://bugs.gentoo.org/905711 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-libs/libselinux')
-rw-r--r--sys-libs/libselinux/libselinux-3.5-r1.ebuild7
-rw-r--r--sys-libs/libselinux/libselinux-3.6-r1.ebuild5
-rw-r--r--sys-libs/libselinux/libselinux-9999.ebuild5
3 files changed, 13 insertions, 4 deletions
diff --git a/sys-libs/libselinux/libselinux-3.5-r1.ebuild b/sys-libs/libselinux/libselinux-3.5-r1.ebuild
index 1ed1db1ec9f2..dc0b5af229be 100644
--- a/sys-libs/libselinux/libselinux-3.5-r1.ebuild
+++ b/sys-libs/libselinux/libselinux-3.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -6,7 +6,7 @@ PYTHON_COMPAT=( python3_{10..12} )
USE_RUBY="ruby30 ruby31 ruby32"
# No, I am not calling ruby-ng
-inherit python-r1 toolchain-funcs multilib-minimal
+inherit flag-o-matic python-r1 toolchain-funcs multilib-minimal
MY_PV="${PV//_/-}"
MY_P="${PN}-${MY_PV}"
@@ -55,6 +55,9 @@ src_prepare() {
multilib_src_compile() {
tc-export AR CC PKG_CONFIG RANLIB
+ # bug 905711
+ use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE
+
local -x CFLAGS="${CFLAGS} -fno-semantic-interposition"
emake \
diff --git a/sys-libs/libselinux/libselinux-3.6-r1.ebuild b/sys-libs/libselinux/libselinux-3.6-r1.ebuild
index 8ff2227a55c4..002a1bf64a54 100644
--- a/sys-libs/libselinux/libselinux-3.6-r1.ebuild
+++ b/sys-libs/libselinux/libselinux-3.6-r1.ebuild
@@ -6,7 +6,7 @@ PYTHON_COMPAT=( python3_{10..12} )
USE_RUBY="ruby31 ruby32 ruby33"
# No, I am not calling ruby-ng
-inherit python-r1 toolchain-funcs multilib-minimal
+inherit flag-o-matic python-r1 toolchain-funcs multilib-minimal
MY_PV="${PV//_/-}"
MY_P="${PN}-${MY_PV}"
@@ -55,6 +55,9 @@ src_prepare() {
multilib_src_compile() {
tc-export AR CC PKG_CONFIG RANLIB
+ # bug 905711
+ use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE
+
local -x CFLAGS="${CFLAGS} -fno-semantic-interposition"
emake \
diff --git a/sys-libs/libselinux/libselinux-9999.ebuild b/sys-libs/libselinux/libselinux-9999.ebuild
index 5b1c48a22c08..204faee972bf 100644
--- a/sys-libs/libselinux/libselinux-9999.ebuild
+++ b/sys-libs/libselinux/libselinux-9999.ebuild
@@ -6,7 +6,7 @@ PYTHON_COMPAT=( python3_{10..12} )
USE_RUBY="ruby31 ruby32 ruby33"
# No, I am not calling ruby-ng
-inherit python-r1 toolchain-funcs multilib-minimal
+inherit flag-o-matic python-r1 toolchain-funcs multilib-minimal
MY_PV="${PV//_/-}"
MY_P="${PN}-${MY_PV}"
@@ -55,6 +55,9 @@ src_prepare() {
multilib_src_compile() {
tc-export AR CC PKG_CONFIG RANLIB
+ # bug 905711
+ use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE
+
local -x CFLAGS="${CFLAGS} -fno-semantic-interposition"
emake \