diff --git a/packages/devel/gettext/package.mk b/packages/devel/gettext/package.mk index 134895b1bc..d62c9223ad 100644 --- a/packages/devel/gettext/package.mk +++ b/packages/devel/gettext/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) PKG_NAME="gettext" -PKG_VERSION="0.23" -PKG_SHA256="bf31a9b6bdf3e364669c7bd9858f97e4a0c408a8d22940c5d4ab638b65460f85" +PKG_VERSION="0.23.1" +PKG_SHA256="c1f97a72a7385b7e71dd07b5fea6cdaf12c9b88b564976b23bd8c11857af2970" PKG_LICENSE="GPL" PKG_SITE="https://www.gnu.org/s/gettext/" PKG_URL="https://ftp.gnu.org/pub/gnu/gettext/${PKG_NAME}-${PKG_VERSION}.tar.xz" diff --git a/packages/devel/gettext/patches/gettext-0003-Fix-compilation-error-with-libxml2-2-12-0-and-gcc-14.patch b/packages/devel/gettext/patches/gettext-0003-Fix-compilation-error-with-libxml2-2-12-0-and-gcc-14.patch deleted file mode 100644 index 954a9703fb..0000000000 --- a/packages/devel/gettext/patches/gettext-0003-Fix-compilation-error-with-libxml2-2-12-0-and-gcc-14.patch +++ /dev/null @@ -1,44 +0,0 @@ -From adfbe2ee7cd9b47a0465aa9a07d773fa290f46c1 Mon Sep 17 00:00:00 2001 -From: Bruno Haible -Date: Sun, 1 Dec 2024 19:35:51 +0100 -Subject: [PATCH 1/1] Fix compilation error with libxml2 >= 2.12.0 and gcc >= - 14. - -Reported by Sam James -at . - -* gettext-tools/src/its.c: Include . -(structured_error): Adapt to API change. ---- - gettext-tools/src/its.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/gettext-tools/src/its.c b/gettext-tools/src/its.c -index 8ee7ab40f..3f28f8851 100644 ---- a/gettext-tools/src/its.c -+++ b/gettext-tools/src/its.c -@@ -28,6 +28,7 @@ - #include - #include - -+#include - #include - #include - #include -@@ -82,7 +83,13 @@ - /* ----------------------------- Error handling ----------------------------- */ - - static void -+/* Adapt to API change in libxml 2.12.0. -+ See . */ -+#if LIBXML_VERSION >= 21200 -+structured_error (void *data, const xmlError *err) -+#else - structured_error (void *data, xmlError *err) -+#endif - { - error (0, err->level == XML_ERR_FATAL ? EXIT_FAILURE : 0, - _("%s error: %s"), "libxml2", err->message); --- -2.34.1 -