summaryrefslogtreecommitdiff
path: root/sys-devel/patch/patch-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/patch/patch-9999.ebuild')
-rw-r--r--sys-devel/patch/patch-9999.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-devel/patch/patch-9999.ebuild b/sys-devel/patch/patch-9999.ebuild
index fafd712ded40..9f8877a3a209 100644
--- a/sys-devel/patch/patch-9999.ebuild
+++ b/sys-devel/patch/patch-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -58,6 +58,12 @@ src_configure() {
# rename to gpatch for better BSD compatibility
--program-prefix=g
)
+
+ # https://savannah.gnu.org/support/?111394
+ # This can be removed when we patch dev-build/autoconf, though
+ # packages w/o eautoreconf will still need it.
+ [[ ${enable_year2038} == "no" ]] && myeconfargs+=( --disable-year2038 )
+
# Do not let $ED mess up the search for `ed` 470210.
ac_cv_path_ED=$(type -P ed) \
econf "${myeconfargs[@]}"