[packages/gnucobol] - rel 3, fix build

baggins baggins at pld-linux.org
Sat Aug 30 14:32:27 CEST 2025


commit c6422242bf68f96c62d1abea9bf8d73f23ef1bb5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Aug 30 16:32:15 2025 +0200

    - rel 3, fix build

 gnucobol-info.patch | 10 ++++++++++
 gnucobol.spec       |  4 +++-
 xml-parser.patch    | 10 ++++++++++
 3 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/gnucobol.spec b/gnucobol.spec
index ccb679d..4e1e7a5 100644
--- a/gnucobol.spec
+++ b/gnucobol.spec
@@ -2,12 +2,13 @@ Summary:	GnuCOBOL translator/compiler
 Summary(pl.UTF-8):	Translator/kompilator GnuCOBOL
 Name:		gnucobol
 Version:	3.2
-Release:	2
+Release:	3
 License:	LGPL v3+ (library), GPL v3+ (compiler)
 Group:		Development/Languages
 Source0:	https://ftp.gnu.org/gnu/gnucobol/%{name}-%{version}.tar.lz
 # Source0-md5:	0b943fd5ad464dcf76f3d2e719f19e4c
 Patch0:		%{name}-info.patch
+Patch1:		xml-parser.patch
 URL:		https://gnucobol.sourceforge.io/
 BuildRequires:	db-devel >= 4.1
 BuildRequires:	gmp-devel >= 4.1.2
@@ -83,6 +84,7 @@ Biblioteka statyczna GnuCOBOL-a.
 %prep
 %setup -q
 %patch -P0 -p1
+%patch -P1 -p1
 
 %build
 %configure \
diff --git a/gnucobol-info.patch b/gnucobol-info.patch
index b82e0a4..077e839 100644
--- a/gnucobol-info.patch
+++ b/gnucobol-info.patch
@@ -21,3 +21,13 @@
  @end direntry
  
  @end ifinfo
+--- gnucobol-3.2/doc/cbrunt.tex~	2023-07-28 19:20:48.000000000 +0200
++++ gnucobol-3.2/doc/cbrunt.tex	2025-08-30 16:31:11.413330317 +0200
+@@ -211,6 +211,7 @@
+          Example:  COB_CURRENT_DATE "2026/03/16 16:40:52"
+                    current_date YYYYMMDDHHMMSS+01:00
+ 
++ at end verbatim
+ 
+ @section Call environment
+ @verbatim
diff --git a/xml-parser.patch b/xml-parser.patch
new file mode 100644
index 0000000..a9abf09
--- /dev/null
+++ b/xml-parser.patch
@@ -0,0 +1,10 @@
+--- gnucobol-3.2/libcob/common.c~	2023-07-28 19:16:38.000000000 +0200
++++ gnucobol-3.2/libcob/common.c	2025-08-30 16:25:16.133330231 +0200
+@@ -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)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnucobol.git/commitdiff/c6422242bf68f96c62d1abea9bf8d73f23ef1bb5



More information about the pld-cvs-commit mailing list