summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-03-10 11:19:05 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-03-10 15:16:53 +0100
commitc91502542cc1530cb70ba4f6dd510e5b4da6a992 (patch)
treedc24dc134e9b7c138c8ba9712ab02af97969de30 /dev-lang
parentdev-libs/dynolog: hopefully fix musl build (diff)
downloadgentoo-c91502542cc1530cb70ba4f6dd510e5b4da6a992.tar.gz
gentoo-c91502542cc1530cb70ba4f6dd510e5b4da6a992.tar.bz2
gentoo-c91502542cc1530cb70ba4f6dd510e5b4da6a992.zip
dev-lang/gnucobol: include parser.h
Closes: https://bugs.gentoo.org/925712 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch10
-rw-r--r--dev-lang/gnucobol/gnucobol-3.2.ebuild1
2 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch b/dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch
new file mode 100644
index 000000000000..b6c4f5002565
--- /dev/null
+++ b/dev-lang/gnucobol/files/gnucobol-3.2-libxml.patch
@@ -0,0 +1,10 @@
+--- a/libcob/common.c 2024-03-10 11:12:23.253391905 +0100
++++ b/libcob/common.c 2024-03-10 11:12:46.433130551 +0100
+@@ -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)
diff --git a/dev-lang/gnucobol/gnucobol-3.2.ebuild b/dev-lang/gnucobol/gnucobol-3.2.ebuild
index 26cb539a6333..8bbbcbd6d2d9 100644
--- a/dev-lang/gnucobol/gnucobol-3.2.ebuild
+++ b/dev-lang/gnucobol/gnucobol-3.2.ebuild
@@ -28,6 +28,7 @@ DOCS=( AUTHORS ChangeLog NEWS README README.md )
PATCHES=(
"${FILESDIR}"/${PN}-3.1.2-gentoo.patch
+ "${FILESDIR}"/${P}-libxml.patch
)
src_prepare() {