libqb/backport-doxygen2man-Include-libxml-parser.h-494.patch
bixiaoyan 5051c726ab doxygen2man: Fix typos and inconsistencies in help text
doxygen2man: Include libxml/parser.h

(cherry picked from commit fd2108b329280e8281b59b870adea2df8bba74e5)
2024-12-06 14:09:18 +08:00

27 lines
747 B
Diff

From c7528139dc8a6999fea65d94f7b8fbb424a6bd06 Mon Sep 17 00:00:00 2001
From: Chrissie Caulfield <ccaulfie@redhat.com>
Date: Mon, 20 Nov 2023 12:15:21 +0000
Subject: [PATCH 2/5] doxygen2man: Include libxml/parser.h (#494)
This seems to be needed for newer versions of libxml
but shouldn't break older ones (CI to confirm!)
---
doxygen2man/doxygen2man.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/doxygen2man/doxygen2man.c b/doxygen2man/doxygen2man.c
index 3dab47d..a90fefb 100644
--- a/doxygen2man/doxygen2man.c
+++ b/doxygen2man/doxygen2man.c
@@ -31,6 +31,7 @@
#include <errno.h>
#include <ctype.h>
#include <libxml/tree.h>
+#include <libxml/parser.h>
#include <qb/qblist.h>
#include <qb/qbmap.h>
#include "cstring.h"
--
2.25.1