pianod: fix mbedtls 3.6 compilation

Just a header is needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2024-05-08 14:28:56 -07:00
parent 5e63e53ddd
commit 90374cfcbc
2 changed files with 11 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pianod
PKG_VERSION:=174.09
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_URL:=https://github.com/thess/pianod-sc/releases/download/$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz

View File

@@ -0,0 +1,10 @@
--- a/src/libwaitress/waitress.c
+++ b/src/libwaitress/waitress.c
@@ -46,6 +46,7 @@ THE SOFTWARE.
#if defined(USE_MBEDTLS)
+#include <mbedtls/compat-2.x.h>
#include <mbedtls/ssl.h>
#include <mbedtls/entropy.h>
#include <mbedtls/ctr_drbg.h>