From 2017a0f6e217b8f7e49e0e46e5f97b58eb87dcfb Mon Sep 17 00:00:00 2001 From: Ted Hess Date: Sat, 25 Oct 2014 10:56:24 -0400 Subject: [PATCH] libmpdclient: Add patch for musl libc compatibility (from upstream repo) Signed-off-by: Ted Hess --- libs/libmpdclient/Makefile | 2 +- .../patches/001-WIP_musl_compatibility.patch | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 libs/libmpdclient/patches/001-WIP_musl_compatibility.patch diff --git a/libs/libmpdclient/Makefile b/libs/libmpdclient/Makefile index 0a23422959..d81095fb3d 100644 --- a/libs/libmpdclient/Makefile +++ b/libs/libmpdclient/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libmpdclient PKG_VERSION:=2.9 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://www.musicpd.org/download/libmpdclient/2/ diff --git a/libs/libmpdclient/patches/001-WIP_musl_compatibility.patch b/libs/libmpdclient/patches/001-WIP_musl_compatibility.patch new file mode 100644 index 0000000000..02ea652202 --- /dev/null +++ b/libs/libmpdclient/patches/001-WIP_musl_compatibility.patch @@ -0,0 +1,22 @@ +--- a/src/socket.c ++++ b/src/socket.c +@@ -43,6 +43,7 @@ + #else + # include + # include ++# include + # include + # include + # include +--- a/src/sync.c ++++ b/src/sync.c +@@ -33,6 +33,9 @@ + #include + #include + #include ++#ifndef WIN32 ++#include ++#endif + #include + #include + -- 2.30.2