diff --git a/package/openconnect/0001-Fix-implicit-declaration-of-function-malloc.patch b/package/openconnect/0001-Fix-implicit-declaration-of-function-malloc.patch deleted file mode 100644 index 4732c4fb5e..0000000000 --- a/package/openconnect/0001-Fix-implicit-declaration-of-function-malloc.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 5185f640045df2b4f8ee7f028fc59e6f02fdf367 Mon Sep 17 00:00:00 2001 -From: Brahmajit Das -Date: Mon, 29 Jan 2024 23:28:53 +0530 -Subject: [PATCH] Fix implicit declaration of function 'malloc' - -First observed on Gentoo Linux with GCC 14. This is due to GCC 14 -enabling -Werror=implicit-function-declaration by default. -Thus resulting in errors such as: - -openconnect-internal.h: In function 'alloc_pkt': -openconnect-internal.h:911:27: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] - 911 | struct pkt *pkt = malloc(alloc_len); - | ^~~~~~ - -Plese refer gentoo bug: https://bugs.gentoo.org/923173 -Signed-off-by: Brahmajit Das - -Upstream: https://gitlab.com/openconnect/openconnect/-/commit/5185f640045df2b4f8ee7f028fc59e6f02fdf367 - -Signed-off-by: Bernd Kuhls -[rebased for 9.12] ---- - openconnect-internal.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/openconnect-internal.h b/openconnect-internal.h -index 21460adf6..2830d693f 100644 ---- a/openconnect-internal.h -+++ b/openconnect-internal.h -@@ -87,6 +87,7 @@ - - #include - #include -+#include - - #ifdef _WIN32 - #ifndef _Out_cap_c_ --- -GitLab - diff --git a/package/openconnect/openconnect.hash b/package/openconnect/openconnect.hash index 86bdaa5d4e..e18485327f 100644 --- a/package/openconnect/openconnect.hash +++ b/package/openconnect/openconnect.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a2bedce3aa4dfe75e36e407e48e8e8bc91d46def5335ac9564fbf91bd4b2413e openconnect-9.12.tar.gz +sha256 5b32369467db6e5f317aa1ed12cfcbb81ed00bdbc765450b6bfcbdc300944a58 openconnect-9.21.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL diff --git a/package/openconnect/openconnect.mk b/package/openconnect/openconnect.mk index 73716d708e..e9a3257edb 100644 --- a/package/openconnect/openconnect.mk +++ b/package/openconnect/openconnect.mk @@ -4,7 +4,7 @@ # ################################################################################ -OPENCONNECT_VERSION = 9.12 +OPENCONNECT_VERSION = 9.21 OPENCONNECT_SITE = https://www.infradead.org/openconnect/download OPENCONNECT_DEPENDENCIES = host-pkgconf libxml2 zlib OPENCONNECT_LICENSE = LGPL-2.1