From 756a3243dc18211a673728b2327dc759a95f0d12 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 18 Jul 2022 15:16:15 -0700 Subject: [PATCH] wifidog: fix compilation with more recent wolfssl Needs an extra header. pthread.h is also no longer implicitly included. Signed-off-by: Rosen Penev (cherry picked from commit 4605f98b413b4b0433199e4fe6d3685344cbf933) --- net/wifidog/Makefile | 2 +- net/wifidog/patches/030-wolfssl-options.patch | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 net/wifidog/patches/030-wolfssl-options.patch diff --git a/net/wifidog/Makefile b/net/wifidog/Makefile index 07cdbfd7d..900d8a648 100644 --- a/net/wifidog/Makefile +++ b/net/wifidog/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wifidog PKG_VERSION:=1.3.0 -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/wifidog/wifidog-gateway diff --git a/net/wifidog/patches/030-wolfssl-options.patch b/net/wifidog/patches/030-wolfssl-options.patch new file mode 100644 index 000000000..3be051ac0 --- /dev/null +++ b/net/wifidog/patches/030-wolfssl-options.patch @@ -0,0 +1,18 @@ +--- a/src/simple_http.c ++++ b/src/simple_http.c +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + #include + #include + +@@ -37,6 +38,7 @@ + #include "pstring.h" + + #ifdef USE_CYASSL ++#include + #include + #include "conf.h" + /* For CYASSL_MAX_ERROR_SZ */