Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnu-cobol for openSUSE:Factory checked in at 2025-10-27 14:42:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnu-cobol (Old) and /work/SRC/openSUSE:Factory/.gnu-cobol.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnu-cobol" Mon Oct 27 14:42:25 2025 rev:6 rq:1313809 version:3.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gnu-cobol/gnu-cobol.changes 2024-12-03 20:47:15.667170850 +0100 +++ /work/SRC/openSUSE:Factory/.gnu-cobol.new.1980/gnu-cobol.changes 2025-10-27 14:44:04.777633162 +0100 @@ -1,0 +2,5 @@ +Sat Oct 25 19:43:42 UTC 2025 - Arjen de Korte <[email protected]> + +- Fix build errors with GCC 15 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnu-cobol.spec ++++++ --- /var/tmp/diff_new_pack.MAbIf7/_old 2025-10-27 14:44:05.329656488 +0100 +++ /var/tmp/diff_new_pack.MAbIf7/_new 2025-10-27 14:44:05.341656996 +0100 @@ -43,9 +43,9 @@ BuildRequires: pkgconfig(ncurses) >= 5.4 Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} -Provides: libcob-devel = %{version} +Provides: libcob-devel = %{version}-%{release} Provides: opencobol = %{version} -Obsoletes: libcob-devel <= 3.1.2 +Obsoletes: libcob-devel < %{version}-%{release} %description GnuCOBOL (formerly OpenCOBOL) is a COBOL compiler. @@ -66,8 +66,11 @@ %autosetup -p1 -n gnucobol-%{version} %build - -%global optflags %{optflags} -Wno-error=incompatible-pointer-types +CFLAGS="%{optflags} -Wno-error=incompatible-pointer-types" +%if 0%{?suse_version} > 1600 +CFLAGS="$CFLAGS -std=gnu17" +%endif +export CFLAGS %configure \ --enable-hardening \ --enable-static=no
