dev-lang/gnucobol: include parser.h

Closes: https://bugs.gentoo.org/925712
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone 2024-03-10 11:19:05 +01:00
parent 3dd417a5cf
commit c91502542c
No known key found for this signature in database
GPG Key ID: FBE5925C5B02CE58
2 changed files with 11 additions and 0 deletions

View File

@ -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)

View File

@ -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() {