hs20: fix compilation with libxml 2.12
authorRosen Penev <rosenp@gmail.com>
Mon, 25 Dec 2023 06:09:08 +0000 (22:09 -0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 3 Jan 2024 02:56:07 +0000 (18:56 -0800)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/hs20/Makefile
net/hs20/patches/010-libxml-212.patch [new file with mode: 0644]

index 894179a6c936ee9f79c0a33d6d8e08fa6a1d9020..ffa4a4765f782682d065da02e645a67e6dce659b 100644 (file)
@@ -1,7 +1,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=hs20
-PKG_RELEASE:=8
+PKG_RELEASE:=9
 
 PKG_SOURCE_URL:=http://w1.fi/hostap.git
 PKG_SOURCE_PROTO:=git
diff --git a/net/hs20/patches/010-libxml-212.patch b/net/hs20/patches/010-libxml-212.patch
new file mode 100644 (file)
index 0000000..b9a3854
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/src/utils/xml_libxml2.c
++++ b/src/utils/xml_libxml2.c
+@@ -8,7 +8,7 @@
+ #include "includes.h"
+ #define LIBXML_VALID_ENABLED
+-#include <libxml/tree.h>
++#include <libxml/parser.h>
+ #include <libxml/xmlschemastypes.h>
+ #include "common.h"