From 63fa44476d4510d9686d331fab8d8132f1d06ae4 Mon Sep 17 00:00:00 2001 From: Ted Hess Date: Thu, 18 Jun 2015 15:06:29 -0400 Subject: [PATCH] mocp: Fix musl compatibility Signed-off-by: Ted Hess --- sound/mocp/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/mocp/Makefile b/sound/mocp/Makefile index 5552ec962..d1917bfbe 100644 --- a/sound/mocp/Makefile +++ b/sound/mocp/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=moc PKG_VERSION:=2.5.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://ftp.daper.net/pub/soft/moc/stable/ @@ -38,6 +38,8 @@ define Package/moc/description MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use. endef +TARGET_CFLAGS+=-D_GNU_SOURCE + define Build/Configure $(call Build/Configure/Default, \ $(if $(CONFIG_BUILD_PATENTED),,--without-mp3) \