package/openconnect: bump version to 9.21

https://lists.infradead.org/pipermail/openconnect-devel/2026-June/005539.html
https://lists.infradead.org/pipermail/openconnect-devel/2026-June/005540.html

Removed patch which is included in this release.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-07-24 19:43:18 +02:00
committed by Julien Olivain
parent 655ade728d
commit 81a59f1203
3 changed files with 2 additions and 42 deletions

View File

@@ -1,40 +0,0 @@
From 5185f640045df2b4f8ee7f028fc59e6f02fdf367 Mon Sep 17 00:00:00 2001
From: Brahmajit Das <brahmajit.xyz@gmail.com>
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 <brahmajit.xyz@gmail.com>
Upstream: https://gitlab.com/openconnect/openconnect/-/commit/5185f640045df2b4f8ee7f028fc59e6f02fdf367
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[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 <libxml/tree.h>
#include <zlib.h>
+#include <stdlib.h>
#ifdef _WIN32
#ifndef _Out_cap_c_
--
GitLab

View File

@@ -1,3 +1,3 @@
# Locally calculated
sha256 a2bedce3aa4dfe75e36e407e48e8e8bc91d46def5335ac9564fbf91bd4b2413e openconnect-9.12.tar.gz
sha256 5b32369467db6e5f317aa1ed12cfcbb81ed00bdbc765450b6bfcbdc300944a58 openconnect-9.21.tar.gz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL

View File

@@ -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