diff options
Diffstat (limited to 'meta/recipes-support/shared-mime-info/shared-mime-info/0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch')
-rw-r--r-- | meta/recipes-support/shared-mime-info/shared-mime-info/0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info/0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch b/meta/recipes-support/shared-mime-info/shared-mime-info/0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch new file mode 100644 index 0000000000..936f72ccf8 --- /dev/null +++ b/meta/recipes-support/shared-mime-info/shared-mime-info/0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 665383306c725f299a1b373f947cda01949d49e4 Mon Sep 17 00:00:00 2001 | ||
2 | From: David Faure <faure@kde.org> | ||
3 | Date: Sun, 19 Nov 2023 11:18:11 +0100 | ||
4 | Subject: [PATCH] Fix build with libxml2-2.12.0 and clang-17 | ||
5 | |||
6 | Fixes #219 | ||
7 | |||
8 | Upstream-Status: Backport [https://gitlab.freedesktop.org/xdg/shared-mime-info/-/commit/c918fe77e255150938e83a6aec259f153d303573] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | src/test-subclassing.c | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/src/test-subclassing.c b/src/test-subclassing.c | ||
15 | index dd099e4..0758164 100644 | ||
16 | --- a/src/test-subclassing.c | ||
17 | +++ b/src/test-subclassing.c | ||
18 | @@ -1,4 +1,5 @@ | ||
19 | #include <libxml/tree.h> | ||
20 | +#include <libxml/parser.h> | ||
21 | #include <stdio.h> | ||
22 | #include <string.h> | ||
23 | |||
24 | -- | ||
25 | 2.43.0 | ||
26 | |||