From e3bee35404463fea9c7d3620df72d0d90a6485e8 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 29 Mar 2020 21:26:24 -0700 Subject: [PATCH] forked-daapd: fix compilation with newer musl Needed for errno definition. Signed-off-by: Rosen Penev --- sound/forked-daapd/Makefile | 2 +- sound/forked-daapd/patches/010-errno.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 sound/forked-daapd/patches/010-errno.patch diff --git a/sound/forked-daapd/Makefile b/sound/forked-daapd/Makefile index 9dc7aad30..8e911f910 100644 --- a/sound/forked-daapd/Makefile +++ b/sound/forked-daapd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=forked-daapd PKG_VERSION:=27.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/ejurgensen/$(PKG_NAME)/releases/download/$(PKG_VERSION)/ diff --git a/sound/forked-daapd/patches/010-errno.patch b/sound/forked-daapd/patches/010-errno.patch new file mode 100644 index 000000000..b7fee52d0 --- /dev/null +++ b/sound/forked-daapd/patches/010-errno.patch @@ -0,0 +1,10 @@ +--- a/src/websocket.c ++++ b/src/websocket.c +@@ -25,6 +25,7 @@ + #ifdef HAVE_PTHREAD_NP_H + # include + #endif ++#include + #include + #include + #include