]> git.pld-linux.org Git - packages/gnome-builder.git/commitdiff
add missing includes to fix build with libxml2 >= 2.12
authorJan Palus <atler@pld-linux.org>
Tue, 21 Nov 2023 18:45:42 +0000 (19:45 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 21 Nov 2023 18:45:42 +0000 (19:45 +0100)
gnome-builder.spec
missing-includes.patch [new file with mode: 0644]

index 4dbb20de1fe4a04c57a74ddba1ab98644be54205..aed84a3e9589d1546b41db50e7c96ece59e620df 100644 (file)
@@ -15,6 +15,7 @@ License:      GPL v3+
 Group:         X11/Applications
 Source0:       https://download.gnome.org/sources/gnome-builder/45/%{name}-%{version}.tar.xz
 # Source0-md5: dc095a68d1b4d44b7ee7eda5fd3c9c10
+Patch0:                missing-includes.patch
 URL:           https://wiki.gnome.org/Apps/Builder
 BuildRequires: appstream-glib
 BuildRequires: clang-devel >= 3.5
@@ -163,6 +164,7 @@ Dokumentacja API bibliotek GNOME Buildera.
 
 %prep
 %setup -q
+%patch0 -p1
 
 # drop useless shebang
 grep -q /usr/bin/env src/libide/Ide.py || exit 1
diff --git a/missing-includes.patch b/missing-includes.patch
new file mode 100644 (file)
index 0000000..fd0f44d
--- /dev/null
@@ -0,0 +1,20 @@
+--- gnome-builder-45.0/src/plugins/xml-pack/ide-xml-formatter.c.orig   2023-09-17 02:27:21.000000000 +0200
++++ gnome-builder-45.0/src/plugins/xml-pack/ide-xml-formatter.c        2023-11-21 19:40:25.054481533 +0100
+@@ -27,6 +27,7 @@
+ #include <libxml/tree.h>
+ #include <libxml/parser.h>
++#include <libxml/xmlsave.h>
+ #include "ide-xml-formatter.h"
+--- gnome-builder-45.0/src/plugins/xml-pack/ide-xml-rng-parser.c.orig  2023-09-17 02:27:21.000000000 +0200
++++ gnome-builder-45.0/src/plugins/xml-pack/ide-xml-rng-parser.c       2023-11-21 19:42:19.008516795 +0100
+@@ -23,6 +23,7 @@
+  * Whole refactoring to match the GNOME Builder needs.
+  */
++#include <libxml/parser.h>
+ #include <libxml/tree.h>
+ #include <libxml/uri.h>
This page took 0.52391 seconds and 4 git commands to generate.