public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnucobol] epel8: PAtch for new C flags
@ 2026-08-27 19:34 Gwyn Ciesla
  0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-08-27 19:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gnucobol
Branch : epel8
Commit : cdee0e5313001ec86594be99974b540f91747079
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2024-01-31T14:13:11-06:00
Stats  : +18/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gnucobol/c/cdee0e5313001ec86594be99974b540f91747079?branch=epel8

Log:
PAtch for new C flags

---
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 <gwync@protonmail.com> - 3.2-5
+- Patch for implicit function declaration
+
 * Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 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 <libxml/xmlversion.h>
+ #include <libxml/xmlwriter.h>
++#include <libxml/parser.h>
+ #endif
+ 
+ #if defined (WITH_CJSON)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-27 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-27 19:34 [rpms/gnucobol] epel8: PAtch for new C flags Gwyn Ciesla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox