From e361bb292d32b206faaca49ea045c4b8ea08a8c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Thu, 2 Mar 2023 11:14:44 +0000 Subject: [PATCH] Disable GNULIB's year2038 support for 64-bit time_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GNUTLS exposes time_t in its public API and thus the size of time_t is ABI relevant. It can't be changed in size without breaking ABI compatibility with applications built against GNUTLS that use the default time_t size. https://gitlab.com/gnutls/gnutls/-/issues/1466 https://bugzilla.redhat.com/show_bug.cgi?id=2174758 Signed-off-by: Daniel P. Berrangé --- gnutls.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnutls.spec b/gnutls.spec index 55c9277..23c169a 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -241,6 +241,9 @@ pushd native_build %endif %if %{with_srp} --enable-srp-authentication \ +%endif +%ifarch %{ix86} + --disable-year2038 \ %endif --enable-sha1-support \ --disable-static \