From: Rosen Penev Date: Mon, 18 Jul 2022 22:16:15 +0000 (-0700) Subject: wifidog: fix compilation with more recent wolfssl X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4605f98b413b4b0433199e4fe6d3685344cbf933;p=feed%2Fpackages.git wifidog: fix compilation with more recent wolfssl Needs an extra header. pthread.h is also no longer implicitly included. Signed-off-by: Rosen Penev --- diff --git a/net/wifidog/Makefile b/net/wifidog/Makefile index 07cdbfd7df..900d8a6482 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 0000000000..3be051ac0d --- /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 */