File 0410-xcomp-Disable-year2038-for-ppc-xcomp.patch of Package erlang

From caa88e54f89bf0721df33abc233c1b80bd4e39d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Thu, 31 Oct 2024 10:52:17 +0100
Subject: [PATCH] xcomp: Disable year2038 for ppc xcomp

---
 xcomp/erl-xcomp-powerpc-dso-linux-gnu.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xcomp/erl-xcomp-powerpc-dso-linux-gnu.conf b/xcomp/erl-xcomp-powerpc-dso-linux-gnu.conf
index 7415e664fa..e3237e4468 100644
--- a/xcomp/erl-xcomp-powerpc-dso-linux-gnu.conf
+++ b/xcomp/erl-xcomp-powerpc-dso-linux-gnu.conf
@@ -60,7 +60,7 @@ erl_xcomp_host=powerpc-wrs-linux-gnu
 
 # * `erl_xcomp_configure_flags' - Extra configure flags to pass to the
 #   `configure' script.
-erl_xcomp_configure_flags="--without-termcap"
+erl_xcomp_configure_flags="--without-termcap --disable-year2038"
 
 ## -- Cross Compiler and Other Tools -------------------------------------------
 
-- 
2.43.0

openSUSE Build Service is sponsored by