From d6dce94ea34eeb1b5016a766d2c95f40698b043c Mon Sep 17 00:00:00 2001 From: Elizabeth Ashurov Date: Wed, 11 Feb 2026 16:20:26 +0200 Subject: [PATCH] Apply -std=gnu89 to fix build with GCC 15 Resolves: RHEL-129226 Signed-off-by: Elizabeth Ashurov --- mingw-termcap.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mingw-termcap.spec b/mingw-termcap.spec index 9730434..52fa3ba 100644 --- a/mingw-termcap.spec +++ b/mingw-termcap.spec @@ -12,7 +12,7 @@ Name: mingw-termcap Version: 1.3.1 -Release: 39%{?dist} +Release: 40%{?dist} Summary: MinGW terminal feature database License: GPL-2.0-or-later @@ -102,7 +102,7 @@ autoconf %build %mingw_configure -%mingw_make %{?_smp_mflags} +%mingw_make %{?_smp_mflags} CFLAGS="$CFLAGS -std=gnu89" # Build a shared library. No need for -fPIC on Windows. pushd build_win32 @@ -173,6 +173,10 @@ mv $RPM_BUILD_ROOT%{mingw64_prefix}/info/* $RPM_BUILD_ROOT%{mingw64_infodir} %changelog +* Wed Feb 11 2026 Elizabeth Ashurov - 1.3.1-40 +- Apply -std=gnu89 to fix build with GCC 15 (C23 default) +- Resolves: RHEL-129226 + * Tue Oct 29 2024 Troy Dawson - 1.3.1-39 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018