summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/shared-mime-info/shared-mime-info/0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch
blob: 936f72ccf877a3def4c48f8201fa83f823c55e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 665383306c725f299a1b373f947cda01949d49e4 Mon Sep 17 00:00:00 2001
From: David Faure <faure@kde.org>
Date: Sun, 19 Nov 2023 11:18:11 +0100
Subject: [PATCH] Fix build with libxml2-2.12.0 and clang-17

Fixes #219

Upstream-Status: Backport [https://gitlab.freedesktop.org/xdg/shared-mime-info/-/commit/c918fe77e255150938e83a6aec259f153d303573]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/test-subclassing.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test-subclassing.c b/src/test-subclassing.c
index dd099e4..0758164 100644
--- a/src/test-subclassing.c
+++ b/src/test-subclassing.c
@@ -1,4 +1,5 @@
 #include <libxml/tree.h>
+#include <libxml/parser.h>
 #include <stdio.h>
 #include <string.h>
 
-- 
2.43.0