Release Notes:
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.5
Remove patch:
- 010-iconv.patch
Fixes: CVE-2024-25062
include $(TOPDIR)/rules.mk
PKG_NAME:=libxml2
-PKG_VERSION:=2.11.4
+PKG_VERSION:=2.12.5
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNOME/libxml2/$(basename $(PKG_VERSION))
-PKG_HASH:=737e1d7f8ab3f139729ca13a2494fd17bf30ddb4b7a427cf336252cab57f57f7
+PKG_HASH:=a972796696afd38073e0f59c283c3a2f5a560b5268b4babc391b286166526b21
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
+++ /dev/null
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -469,6 +469,9 @@ if(LIBXML2_WITH_PROGRAMS)
- add_executable(LibXml2::${PROGRAM} ALIAS ${PROGRAM})
- target_compile_definitions(${PROGRAM} PRIVATE SYSCONFDIR="${CMAKE_INSTALL_FULL_SYSCONFDIR}")
- target_link_libraries(${PROGRAM} LibXml2)
-+ if(LIBXML2_WITH_ICONV AND NOT Iconv_IS_BUILT_IN)
-+ target_link_libraries(${PROGRAM} iconv)
-+ endif()
- if(HAVE_LIBHISTORY)
- target_link_libraries(${PROGRAM} history)
- endif()