mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
strongswan: fix build with wolfssl 5.7.6
Backport an upstream patch to fix build with wolfssl 5.7.6. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
committed by
Tianling Shen
parent
153d1eda11
commit
f3a45fc265
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=strongswan
|
||||
PKG_VERSION:=5.9.11
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
From 60336ceecbd1cda73aa26dd44cfdaf2e31a046e1 Mon Sep 17 00:00:00 2001
|
||||
From: Tobias Brunner <tobias@strongswan.org>
|
||||
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
|
||||
|
||||
---
|
||||
src/libstrongswan/plugins/wolfssl/wolfssl_common.h | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
--- 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
|
||||
|
||||
Reference in New Issue
Block a user