gnome-online-accounts: Fix build with libxml2 2.12

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2024-03-07 17:51:39 -08:00
parent 903c8e58ed
commit fe52d23b15
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From a2867ebcf184695eed00aab4e7b47c1d4a53b2b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrg=20Billeter?= <j@bitron.ch>
Date: Fri, 24 Nov 2023 16:19:47 +0100
Subject: [PATCH] goabackend: Fix build with libxml2 2.12
libxml/xmlIO.h no longer includes libxml/parser.h.
Upstream-Status: Backport [https://github.com/GNOME/gnome-online-accounts/commit/b9638e2418408be4906752297e700506766dcf20]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/goabackend/goaewsclient.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/goabackend/goaewsclient.c b/src/goabackend/goaewsclient.c
index 4cb2358..01a52d1 100644
--- a/src/goabackend/goaewsclient.c
+++ b/src/goabackend/goaewsclient.c
@@ -27,6 +27,7 @@
#include <glib/gi18n-lib.h>
#include <libsoup/soup.h>
+#include <libxml/parser.h>
#include <libxml/xmlIO.h>
#include "goaewsclient.h"
--
2.44.0

View File

@ -7,7 +7,8 @@ inherit gnomebase gsettings gobject-introspection gtk-icon-cache vala features_c
DEPENDS = "gdk-pixbuf dbus glib-2.0"
SRC_URI += "file://0001-Replace-filename-with-basename.patch"
SRC_URI += "file://0001-Replace-filename-with-basename.patch \
file://0001-goabackend-Fix-build-with-libxml2-2.12.patch"
SRC_URI[archive.sha256sum] = "418bb9fcffdbd72a98205ad365137617fc1e3551a54de74f6a98d45d266175bf"
PACKAGECONFIG ?= "goabackend kerberos owncloud lastfm google windows_live"