From f42704121d98a1d186ca248a5167220447bb3a13 Mon Sep 17 00:00:00 2001 From: Thomas Perale Date: Tue, 30 Jun 2026 23:27:16 +0200 Subject: [PATCH] package/strongswan: fix build w/ wolfssl 5.9.2 The 'mlkem.h' header is no longer present in wolfssl v5.9.2 [1] and the content was merged in the 'wc_mlkem.h' header. [1] https://github.com/wolfSSL/wolfssl/commit/7a2cf5b655541013ed8c93ecc9f598146abf2916 Signed-off-by: Thomas Perale Signed-off-by: Julien Olivain (cherry picked from commit 275faf6d61d04f1e01df12ef4ce0b0f2710a194f) Signed-off-by: Thomas Perale --- ...ers-included-later-might-refer-to-it.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/strongswan/0003-wolfssl-don-t-undef-PARSE-ERROR-as-headers-included-later-might-refer-to-it.patch diff --git a/package/strongswan/0003-wolfssl-don-t-undef-PARSE-ERROR-as-headers-included-later-might-refer-to-it.patch b/package/strongswan/0003-wolfssl-don-t-undef-PARSE-ERROR-as-headers-included-later-might-refer-to-it.patch new file mode 100644 index 0000000000..174887389b --- /dev/null +++ b/package/strongswan/0003-wolfssl-don-t-undef-PARSE-ERROR-as-headers-included-later-might-refer-to-it.patch @@ -0,0 +1,25 @@ +From 60336ceecbd1cda73aa26dd44cfdaf2e31a046e1 Mon Sep 17 00:00:00 2001 +From: Tobias Brunner +Date: Fri, 4 Oct 2024 11:23:28 +0200 +Subject: [PATCH] wolfssl: Don't undef PARSE_ERROR as headers included later + might refer to it + +Upstream: https://github.com/strongswan/strongswan/commit/60336ceecbd1cda73aa26dd44cfdaf2e31a046e1 +Signed-off-by: Thomas Perale +--- + src/libstrongswan/plugins/wolfssl/wolfssl_common.h | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/libstrongswan/plugins/wolfssl/wolfssl_common.h b/src/libstrongswan/plugins/wolfssl/wolfssl_common.h +index 9c944e7119..ef6c3da7b2 100644 +--- a/src/libstrongswan/plugins/wolfssl/wolfssl_common.h ++++ b/src/libstrongswan/plugins/wolfssl/wolfssl_common.h +@@ -78,8 +78,6 @@ typedef union { + } wolfssl_ed_key; + #endif /* HAVE_ED25519 || HAVE_ED448 */ + +-#undef PARSE_ERROR +- + /* Eliminate macro conflicts */ + #undef RNG +