commit: 917d387014b35fa979f2d1281af2170e56087952
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 15:11:23 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 18 15:12:43 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917d3870
net-misc/ntpsec: drop filter-lto
... and replace it with lto-guarantee-fat, as we want -ffat-lto-objects
for a configure test (endianness, a classic).
Fixes: 99c380a654731d45bbffe372e5c1aa59613c74f9
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.4.ebuild | 5 +++--
net-misc/ntpsec/ntpsec-9999.ebuild | 9 +++++----
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.4.ebuild
b/net-misc/ntpsec/ntpsec-1.2.4.ebuild
index c799b205251c..6ed2bba769e1 100644
--- a/net-misc/ntpsec/ntpsec-1.2.4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.4.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
-inherit distutils-r1 flag-o-matic multiprocessing waf-utils systemd
+inherit dot-a distutils-r1 multiprocessing waf-utils systemd
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -101,7 +101,8 @@ src_prepare() {
}
src_configure() {
- filter-lto
+ # endianness configure test fails otherwise
+ lto-guarantee-fat
local string_127=""
local rclocks="";
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild
b/net-misc/ntpsec/ntpsec-9999.ebuild
index 2268d6f6574a..6ed2bba769e1 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-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
@@ -8,7 +8,7 @@ DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
-inherit distutils-r1 flag-o-matic multiprocessing waf-utils systemd
+inherit dot-a distutils-r1 multiprocessing waf-utils systemd
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -72,7 +72,7 @@ BDEPEND+="
PATCHES=(
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
"${FILESDIR}/${PN}-1.2.2-logrotate.patch"
- "${FILESDIR}/${PN}-1.2.3-pep517-no-egg.patch"
+ "${FILESDIR}/${PN}-1.2.4-pep517-no-egg.patch"
)
WAF_BINARY="${S}/waf"
@@ -101,7 +101,8 @@ src_prepare() {
}
src_configure() {
- filter-lto
+ # endianness configure test fails otherwise
+ lto-guarantee-fat
local string_127=""
local rclocks="";