diff --git a/gnucobol.spec b/gnucobol.spec index 2c74990..8f586da 100644 --- a/gnucobol.spec +++ b/gnucobol.spec @@ -3,7 +3,7 @@ Name: gnucobol Version: 3.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: COBOL compiler License: GPL-3.0-or-later AND LGPL-3.0-or-later AND GFDL-1.3-only AND FSFAP AND GPL-2.0-or-later AND LGPL-3.0-or-later @@ -15,6 +15,9 @@ Source2: https://ftp.gnu.org/gnu/gnu-keyring.gpg Source3: https://www.itl.nist.gov/div897/ctg/suites/newcob.val.Z Source4: http://downloads.sourceforge.net/%{name}/contrib/esql/%{name}-sql-3.0.tar.gz +# https://sourceforge.net/p/gnucobol/bugs/941/ +Patch0: xml-parser.patch + BuildRequires: gcc BuildRequires: gmp-devel BuildRequires: readline-devel @@ -61,7 +64,7 @@ ESQL for GnuCOBOL %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' -%autosetup +%autosetup -p0 cp %{SOURCE3} tests/cobol85/ %build @@ -125,6 +128,9 @@ make test CFLAGS="%optflags -O" %{_libdir}/libocsql.so* %changelog +* Wed Jan 31 2024 Gwyn Ciesla - 3.2-5 +- Patch for implicit function declaration + * Wed Jan 24 2024 Fedora Release Engineering - 3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/xml-parser.patch b/xml-parser.patch new file mode 100644 index 0000000..feaeab1 --- /dev/null +++ b/xml-parser.patch @@ -0,0 +1,10 @@ +--- libcob/common.c~ 2023-07-28 12:16:38.000000000 -0500 ++++ libcob/common.c 2024-01-31 13:14:41.168118471 -0600 +@@ -136,6 +136,7 @@ + #if defined (WITH_XML2) + #include + #include ++#include + #endif + + #if defined (WITH_CJSON)