createrepo_c/0001-build-Restore-compatiblity-with-libxml2-2.12.0.patch

29 lines
710 B
Diff

From c10ab17792d64f12a448dfb0dea96afa39e7d24d Mon Sep 17 00:00:00 2001
From: Nicola Sella <nsella@redhat.com>
Date: Mon, 20 Nov 2023 16:17:00 +0100
Subject: [PATCH] build: Restore compatiblity with libxml2-2.12.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
src/sqlite.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/sqlite.c b/src/sqlite.c
index 597c592..33bcdcc 100644
--- a/src/sqlite.c
+++ b/src/sqlite.c
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <errno.h>
#include <libxml/encoding.h>
+#include <libxml/xmlstring.h>
#include "misc.h"
#include "sqlite.h"
#include "error.h"
--
2.42.0