From bf3333594a8add333e3d7192107aa7be8bc39a33 Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Thu, 23 Jan 2025 17:58:34 -0300 Subject: [PATCH] coova-chilli: Fix WolfSSL support Signed-off-by: Federico Capoano --- net/coova-chilli/Makefile | 2 +- .../030-cyassl-renamed-to-wolfssl.patch | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 net/coova-chilli/patches/030-cyassl-renamed-to-wolfssl.patch diff --git a/net/coova-chilli/Makefile b/net/coova-chilli/Makefile index fe65b29a5b..b1a8f38d2f 100644 --- a/net/coova-chilli/Makefile +++ b/net/coova-chilli/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=coova-chilli PKG_VERSION:=1.6 -PKG_RELEASE:=11 +PKG_RELEASE:=12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/coova/coova-chilli/tar.gz/$(PKG_VERSION)? diff --git a/net/coova-chilli/patches/030-cyassl-renamed-to-wolfssl.patch b/net/coova-chilli/patches/030-cyassl-renamed-to-wolfssl.patch new file mode 100644 index 0000000000..3b604758b3 --- /dev/null +++ b/net/coova-chilli/patches/030-cyassl-renamed-to-wolfssl.patch @@ -0,0 +1,34 @@ +--- a/src/md5.h ++++ b/src/md5.h +@@ -29,7 +29,7 @@ + #define MD5Final MD5_Final + + #elif HAVE_CYASSL +-#include ++#include + + #define MD5Init MD5_Init + #define MD5Update MD5_Update +--- a/src/ssl.h ++++ b/src/ssl.h +@@ -49,13 +49,13 @@ typedef struct { + #include + + #define OPENSSL_NO_ENGINE +-#include +-#include +-#include +-#include +-#include +-#include +-#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include + #endif + + #define OPENSSL_TMPKEY_MAX 4 -- 2.30.2