From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4BD8115812D for ; Sat, 04 Jan 2025 22:00:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 836D5E0718; Sat, 04 Jan 2025 22:00:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6DB35E0718 for ; Sat, 04 Jan 2025 22:00:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98EE634072E for ; Sat, 04 Jan 2025 22:00:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 013BB18E7 for ; Sat, 04 Jan 2025 22:00:17 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1736027944.fda266920efdb1580a39452e3f50366e6818fb8c.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libselinux/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libselinux/libselinux-9999.ebuild X-VCS-Directories: sys-libs/libselinux/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: fda266920efdb1580a39452e3f50366e6818fb8c X-VCS-Branch: master Date: Sat, 04 Jan 2025 22:00:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3fa44f52-d482-4984-9743-8e618308c094 X-Archives-Hash: c98832bee6f87b29f137d94e88f8a6b1 commit: fda266920efdb1580a39452e3f50366e6818fb8c Author: Jason Zaman gentoo org> AuthorDate: Sat Jan 4 21:49:23 2025 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Jan 4 21:59:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fda26692 sys-libs/libselinux: Enable LargeFile support via make option Signed-off-by: Jason Zaman gentoo.org> sys-libs/libselinux/libselinux-9999.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sys-libs/libselinux/libselinux-9999.ebuild b/sys-libs/libselinux/libselinux-9999.ebuild index 72e3b36bde1a..5bc7fa6d98fe 100644 --- a/sys-libs/libselinux/libselinux-9999.ebuild +++ b/sys-libs/libselinux/libselinux-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" @@ -55,9 +55,6 @@ 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 \ @@ -65,6 +62,7 @@ multilib_src_compile() { SHLIBDIR="/$(get_libdir)" \ LDFLAGS="-fPIC ${LDFLAGS} -pthread" \ USE_PCRE2=y \ + USE_LFS=y \ FTS_LDLIBS="$(usex elibc_musl '-lfts' '')" \ all @@ -75,6 +73,7 @@ multilib_src_compile() { LIBDIR="\$(PREFIX)/$(get_libdir)" \ SHLIBDIR="/$(get_libdir)" \ USE_PCRE2=y \ + USE_LFS=y \ FTS_LDLIBS="$(usex elibc_musl '-lfts' '')" \ pywrap } @@ -91,6 +90,7 @@ multilib_src_compile() { LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \ LIBDIR="\$(PREFIX)/$(get_libdir)" \ SHLIBDIR="/$(get_libdir)" \ + USE_LFS=y \ USE_PCRE2=y \ FTS_LDLIBS="$(usex elibc_musl '-lfts' '')" \ rubywrap @@ -107,6 +107,7 @@ multilib_src_install() { emake DESTDIR="${D}" \ LIBDIR="\$(PREFIX)/$(get_libdir)" \ SHLIBDIR="/$(get_libdir)" \ + USE_LFS=y \ USE_PCRE2=y \ install @@ -115,6 +116,7 @@ multilib_src_install() { emake DESTDIR="${D}" \ LIBDIR="\$(PREFIX)/$(get_libdir)" \ SHLIBDIR="/$(get_libdir)" \ + USE_LFS=y \ USE_PCRE2=y \ install-pywrap python_optimize # bug 531638 @@ -131,6 +133,7 @@ multilib_src_install() { LIBDIR="\$(PREFIX)/$(get_libdir)" \ SHLIBDIR="/$(get_libdir)" \ RUBY=${1} \ + USE_LFS=y \ USE_PCRE2=y \ install-rubywrap }