libsoup: fix compilation with libml2 1.12
authorRosen Penev <rosenp@gmail.com>
Tue, 19 Dec 2023 00:18:47 +0000 (16:18 -0800)
committerRosen Penev <rosenp@gmail.com>
Tue, 19 Dec 2023 12:35:39 +0000 (04:35 -0800)
Needs a different header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libsoup/Makefile
libs/libsoup/patches/010-libxml-1.12.patch [new file with mode: 0644]

index fd3edbbf14cb7435c74c06f46df3afb654c69809..3bca1bd0a29e6dba081bd672f33129d4ae654546 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libsoup
 PKG_VERSION:=2.74.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNOME/libsoup/$(basename $(PKG_VERSION))
diff --git a/libs/libsoup/patches/010-libxml-1.12.patch b/libs/libsoup/patches/010-libxml-1.12.patch
new file mode 100644 (file)
index 0000000..e3147e8
--- /dev/null
@@ -0,0 +1,22 @@
+--- a/libsoup/soup-xmlrpc-old.c
++++ b/libsoup/soup-xmlrpc-old.c
+@@ -11,7 +11,7 @@
+ #include <string.h>
+-#include <libxml/tree.h>
++#include <libxml/parser.h>
+ #include "soup-xmlrpc-old.h"
+ #include "soup.h"
+--- a/libsoup/soup-xmlrpc.c
++++ b/libsoup/soup-xmlrpc.c
+@@ -17,7 +17,7 @@
+ #include <string.h>
+ #include <errno.h>
+-#include <libxml/tree.h>
++#include <libxml/parser.h>
+ #include "soup-xmlrpc.h"
+ #include "soup.h"