ncmpcpp: force _XOPEN_SOURCE=600 to unbreak musl.

This commit is contained in:
Juan RP 2015-11-24 09:51:31 +01:00
parent 5cd2bc2050
commit 9cfbb39294
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ncmpcpp'
pkgname=ncmpcpp
version=0.7
revision=1
revision=2
build_style=gnu-configure
configure_args="
BOOST_LIB_SUFFIX= --enable-clock --enable-outputs --enable-unicode
@ -16,6 +16,9 @@ homepage="http://ncmpcpp.rybczak.net/"
distfiles="http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2"
checksum=50924ff0502c9b90ce1b679638769122defd03bc85eb8a95924c62c8d303ff77
# Required by waddwstr() with ncurses on musl
CXXFLAGS="-D_XOPEN_SOURCE=600"
pre_configure() {
sed -i '/^docdir/d' {,doc/}Makefile.in
}