mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
ncmpcpp: force _XOPEN_SOURCE=600 to unbreak musl.
This commit is contained in:
parent
5cd2bc2050
commit
9cfbb39294
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ncmpcpp'
|
# Template file for 'ncmpcpp'
|
||||||
pkgname=ncmpcpp
|
pkgname=ncmpcpp
|
||||||
version=0.7
|
version=0.7
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
BOOST_LIB_SUFFIX= --enable-clock --enable-outputs --enable-unicode
|
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"
|
distfiles="http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2"
|
||||||
checksum=50924ff0502c9b90ce1b679638769122defd03bc85eb8a95924c62c8d303ff77
|
checksum=50924ff0502c9b90ce1b679638769122defd03bc85eb8a95924c62c8d303ff77
|
||||||
|
|
||||||
|
# Required by waddwstr() with ncurses on musl
|
||||||
|
CXXFLAGS="-D_XOPEN_SOURCE=600"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i '/^docdir/d' {,doc/}Makefile.in
|
sed -i '/^docdir/d' {,doc/}Makefile.in
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue