diff --git a/Dockerfile b/Dockerfile index 3822696..3592db0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,14 +3,12 @@ ARG BUSYBOX_VER=1.37.0 ARG SU_EXEC_VER=0.4 ARG TINI_VER=924c4bd6028457188942ecbfdc75e6a343fa9395 ARG ZLIB_VER=1.3.2 -# https://sourceforge.net/p/xmlstar/bugs/135/ -# https://bugs.gentoo.org/944765 -ARG LIBXML2_VER=2.13.4 -ARG LIBXSLT_VER=1.1.43 +ARG LIBXML2_VER=2.15.3 +ARG LIBXSLT_VER=1.1.45 ARG XMLSTAR_VER=1.6.1 -ARG OPENSSL_VER=3.5.1 -ARG NGHTTP2_VER=1.66.0 -ARG CURL_VER=8.14.1 +ARG OPENSSL_VER=3.5.6 +ARG NGHTTP2_VER=1.68.1 +ARG CURL_VER=8.19.0 ARG OUTPUT=/output ARG DESTDIR=/prefix diff --git a/xmlstarlet-0002-xml_pyx-remove-ATTRIBUTE_UNUSED.patch b/xmlstarlet-0002-xml_pyx-remove-ATTRIBUTE_UNUSED.patch new file mode 100644 index 0000000..b950796 --- /dev/null +++ b/xmlstarlet-0002-xml_pyx-remove-ATTRIBUTE_UNUSED.patch @@ -0,0 +1,47 @@ +From 6b3ca3549abb998947088bdf264d65a0a86684cd Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sun, 12 Oct 2025 18:38:54 +0200 +Subject: [PATCH] xml_pyx: remove ATTRIBUTE_UNUSED + +This define was removed in libxml2 2.14.0: +https://gitlab.gnome.org/GNOME/libxml2/-/commit/208f27f9641a59863ce1f7d4992df77f7eb0ea9d + +Signed-off-by: Bernd Kuhls +--- + src/xml_pyx.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/xml_pyx.c b/src/xml_pyx.c +index ab295f1..8adc028 100644 +--- a/src/xml_pyx.c ++++ b/src/xml_pyx.c +@@ -200,7 +200,7 @@ pyxExternalEntityReferenceHandler(void* userData, + } + + static void +-pyxExternalSubsetHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name, ++pyxExternalSubsetHandler(void *ctx, const xmlChar *name, + const xmlChar *ExternalID, const xmlChar *SystemID) + { + fprintf(stdout, "D %s PUBLIC", name); /* TODO: re-check */ +@@ -215,7 +215,7 @@ pyxExternalSubsetHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name, + } + + static void +-pyxCommentHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value) ++pyxCommentHandler(void *ctx, const xmlChar *value) + { + fprintf(stdout,"C"); + SanitizeData(value, xmlStrlen(value)); +@@ -223,7 +223,7 @@ pyxCommentHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value) + } + + static void +-pyxCdataBlockHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value, int len) ++pyxCdataBlockHandler(void *ctx, const xmlChar *value, int len) + { + fprintf(stdout,"["); + SanitizeData(value, len); +-- +2.47.3 +