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 2024-12-03 20:46:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnu-cobol (Old) and /work/SRC/openSUSE:Factory/.gnu-cobol.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnu-cobol" Tue Dec 3 20:46:12 2024 rev:5 rq:1227844 version:3.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gnu-cobol/gnu-cobol.changes 2023-08-02 16:52:19.122178915 +0200 +++ /work/SRC/openSUSE:Factory/.gnu-cobol.new.28523/gnu-cobol.changes 2024-12-03 20:47:15.667170850 +0100 @@ -1,0 +2,10 @@ +Wed Jul 24 13:48:02 UTC 2024 - Martin Jambor <mjam...@suse.com> + +- Add gnucobol-3.1.2-C99.diff to add missing includes of + libxml/parser.h which cause GCC 14 to emit compiler error rather + than a warning. + +- Add -Wno-error=incompatible-pointer-types to optflags so that GCC 14 + can compile test 0987 without failing with an error. + +------------------------------------------------------------------- New: ---- gnucobol-3.1.2-C99.diff BETA DEBUG BEGIN: New: - Add gnucobol-3.1.2-C99.diff to add missing includes of libxml/parser.h which cause GCC 14 to emit compiler error rather BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnu-cobol.spec ++++++ --- /var/tmp/diff_new_pack.xxJUGS/_old 2024-12-03 20:47:16.695213848 +0100 +++ /var/tmp/diff_new_pack.xxJUGS/_new 2024-12-03 20:47:16.703214182 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnu-cobol # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,8 @@ Source1: https://sourceforge.net/projects/open-cobol/files/gnu-cobol/%{_mver}/gnucobol-%{version}.tar.xz.sig # PATCH-FIX-UPSTREAM fix_test_698.patch -- see https://sourceforge.net/p/gnucobol/bugs/695/ Patch1: fix_test_698.patch +# PATCH-FIX-UPSTREAM gnucobol-3.1.2-C99.diff -- Missing include which causes compilation errors with GCC 14 +Patch2: gnucobol-3.1.2-C99.diff BuildRequires: autoconf BuildRequires: db-devel BuildRequires: dos2unix @@ -41,8 +43,8 @@ BuildRequires: pkgconfig(ncurses) >= 5.4 Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} -Provides: opencobol = %{version} Provides: libcob-devel = %{version} +Provides: opencobol = %{version} Obsoletes: libcob-devel <= 3.1.2 %description @@ -50,7 +52,6 @@ cobc translates COBOL to executable using intermediate C sources, providing full access to nearly all C libraries. - %package -n libcob%{sover} Summary: GnuCOBOL shared library License: LGPL-3.0-or-later @@ -61,11 +62,12 @@ cobc translates COBOL to executable using intermediate C sources, providing full access to nearly all C libraries. - %prep %autosetup -p1 -n gnucobol-%{version} %build + +%global optflags %{optflags} -Wno-error=incompatible-pointer-types %configure \ --enable-hardening \ --enable-static=no @@ -108,4 +110,3 @@ %license COPYING.LESSER %{_libdir}/libcob.so.%{sover}* - ++++++ gnucobol-3.1.2-C99.diff ++++++ Index: gnucobol-3.1.2/libcob/common.c =================================================================== --- gnucobol-3.1.2.orig/libcob/common.c +++ gnucobol-3.1.2/libcob/common.c @@ -111,6 +111,7 @@ #endif #if defined (WITH_XML2) +#include <libxml/parser.h> #include <libxml/xmlversion.h> #include <libxml/xmlwriter.h> #endif Index: gnucobol-3.1.2/libcob/mlio.c =================================================================== --- gnucobol-3.1.2.orig/libcob/mlio.c +++ gnucobol-3.1.2/libcob/mlio.c @@ -35,6 +35,7 @@ #include <libxml/xmlversion.h> #include <libxml/xmlwriter.h> #include <libxml/uri.h> +#include <libxml/parser.h> #endif #if defined (WITH_CJSON)