pianod: fix mbedtls 3.6 compilation 24126/head
authorRosen Penev <rosenp@gmail.com>
Wed, 8 May 2024 21:28:56 +0000 (14:28 -0700)
committerRosen Penev <rosenp@gmail.com>
Mon, 13 May 2024 04:10:59 +0000 (21:10 -0700)
Just a header is needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
sound/pianod/Makefile
sound/pianod/patches/010-mbedtls36.patch [new file with mode: 0644]

index d0a6054780f6e7c76deb511a51961c508ae46eb8..528dc8d5ac2575ae9681b247566ee27f522e8b1f 100644 (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
diff --git a/sound/pianod/patches/010-mbedtls36.patch b/sound/pianod/patches/010-mbedtls36.patch
new file mode 100644 (file)
index 0000000..4488bf2
--- /dev/null
@@ -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>