From de18c17340f0f0c63535c7204dd7b192c856b3aa18ff8d35b0d85863aa122021 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Mon, 10 Apr 2023 16:20:06 +0000 Subject: [PATCH] Accepting request 1078279 from home:pmonrealgonzalez:branches:security:tls - Temporarily disable GNULIB's year2038 support for 64bit time_t by using the --disable-year2038 flag. This omits support for timestamps past the year 2038: * Fixes the public API on 32-bit architectures avoiding to change the size of time_t as it cannot be changed without breaking the ABI compatibility. * Upstream issue: https://gitlab.com/gnutls/gnutls/-/issues/1466 OBS-URL: https://build.opensuse.org/request/show/1078279 OBS-URL: https://build.opensuse.org/package/show/security:tls/gnutls?expand=0&rev=89 --- gnutls.changes | 11 +++++++++++ gnutls.spec | 3 +++ 2 files changed, 14 insertions(+) diff --git a/gnutls.changes b/gnutls.changes index 7353c50..218a5fd 100644 --- a/gnutls.changes +++ b/gnutls.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Apr 10 14:48:41 UTC 2023 - Pedro Monreal + +- Temporarily disable GNULIB's year2038 support for 64bit time_t + by using the --disable-year2038 flag. This omits support for + timestamps past the year 2038: + * Fixes the public API on 32-bit architectures avoiding to + change the size of time_t as it cannot be changed without + breaking the ABI compatibility. + * Upstream issue: https://gitlab.com/gnutls/gnutls/-/issues/1466 + ------------------------------------------------------------------- Tue Feb 21 10:17:00 UTC 2023 - Pedro Monreal diff --git a/gnutls.spec b/gnutls.spec index 5de7e38..0bf8711 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -236,6 +236,9 @@ autoreconf -fiv %endif %if %{with srp} --enable-srp-authentication \ +%endif +%ifarch %{ix86} + --disable-year2038 \ %endif --enable-shared \ --enable-fips140-mode \