diff options
author | Michael Heimpold <mhei@heimpold.de> | 2023-12-16 17:47:08 +0100 |
---|---|---|
committer | Michael Heimpold <mhei@heimpold.de> | 2023-12-16 18:34:58 +0100 |
commit | 3893763d9c33cd273c9356c1678027799db4e624 (patch) | |
tree | 62e1f2687260819888f686a0d1f754c5b24b1efd /libs/libiio | |
parent | fd44545bd8c87c68b82ecf53ad2ca2dc3d8bc3b7 (diff) |
libiio: update to 0.25
While at, backport fix to compile against libxml 2.12.0.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'libs/libiio')
-rw-r--r-- | libs/libiio/Makefile | 8 | ||||
-rw-r--r-- | libs/libiio/patches/0001-xml-Fix-compatibility-with-libxml-2.12.patch | 27 |
2 files changed, 31 insertions, 4 deletions
diff --git a/libs/libiio/Makefile b/libs/libiio/Makefile index 523abd339..1ff73915a 100644 --- a/libs/libiio/Makefile +++ b/libs/libiio/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libiio -PKG_VERSION:=0.21 -PKG_RELEASE:=4 +PKG_VERSION:=0.25 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/analogdevicesinc/libiio/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=03d13165cbeb83b036743cbd9a10e336c728da162714f39d13250a3d94305cac +PKG_HASH:=21972599a3c143ab1f98002ad2b3f28f4aff927fde5f677478311cd4e517730c PKG_LICENSE:=LGPL-2.1 PKG_LICENSE_FILES:=COPYING.txt @@ -35,7 +35,7 @@ include $(INCLUDE_DIR)/cmake.mk CMAKE_OPTIONS += -DWITH_DOC=OFF CMAKE_OPTIONS += -DENABLE_IPV6=$(if $(CONFIG_IPV6),ON,OFF) -CMAKE_OPTIONS += -DENABLE_AIO=OFF +CMAKE_OPTIONS += -DWITH_AIO=OFF CMAKE_OPTIONS += -DWITH_LOCAL_BACKEND=$(if $(CONFIG_LIBIIO_LOCAL_BACKEND),ON,OFF) CMAKE_OPTIONS += -DWITH_LOCAL_CONFIG=OFF CMAKE_OPTIONS += -DWITH_NETWORK_BACKEND=$(if $(CONFIG_LIBIIO_NETWORK_BACKEND),ON,OFF) diff --git a/libs/libiio/patches/0001-xml-Fix-compatibility-with-libxml-2.12.patch b/libs/libiio/patches/0001-xml-Fix-compatibility-with-libxml-2.12.patch new file mode 100644 index 000000000..1f3c7f9ce --- /dev/null +++ b/libs/libiio/patches/0001-xml-Fix-compatibility-with-libxml-2.12.patch @@ -0,0 +1,27 @@ +From bb688d04294dda45e68dfaf13e3bc1187841e52a Mon Sep 17 00:00:00 2001 +From: Jan Tojnar <jtojnar@gmail.com> +Date: Sun, 10 Dec 2023 21:52:05 +0100 +Subject: [PATCH] xml: Fix compatibility with libxml 2.12 + +libxml 2.12.0 reorganized includes, resulting in the following no longer being in scope: + +- XML_PARSE_DTDVALID +- xmlReadMemory +- xmlReadFile +- xmlCleanupParser + +Signed-off-by: Jan Tojnar <jtojnar@gmail.com> +--- + xml.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/xml.c ++++ b/xml.c +@@ -10,6 +10,7 @@ + #include "iio-private.h" + + #include <errno.h> ++#include <libxml/parser.h> + #include <libxml/tree.h> + #include <string.h> + |