commit: 1442589bd040a3cb12537b7d8b867913926c7439
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 18 08:24:23 2025 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Dec 18 08:24:23 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=1442589b
scripts/bootstrap-prefix: enable --disable-year2038 in bootstrap_gnu
Don't die when we might not be able to function in 2038. We still have
over a decade left to go before we really have to do something, if at
all.
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 38e8fe6f0d..539e67eaba 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -857,6 +857,9 @@ bootstrap_gnu() {
# no point in doing NLS at this stage
myconf+=( --disable-nls )
+ # if year 2038 is a problem, don't error out on it, we're not there
+ # yet, and this is only temporary, just for now
+ myconf+=( --disable-year2038 )
if [[ ${PN}-${PV} == "make-4.2.1" ]] ; then
if [[ ${CHOST} == *-linux-gnu* ]] ; then
@@ -965,8 +968,6 @@ bootstrap_gnu() {
fi
if [[ ${PN} == "tar" ]] ; then
- # really, not now, by the time we get there, we'll have it fixed
- myconf+=( --disable-year2038 )
# tar really insists on doing iconv stuff, even when it doesn't
# work (like on macOS), so force it off
sed -i -e '/HAVE_ICONV/d' config.h.in || die