From 98f31047215a6951c1ff9fc61b41e1f1540768b2 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Fri, 16 Oct 2020 21:22:25 +0000 Subject: ncmpcpp: fixed build against gcc 10 --- ncmpcpp/Pkgfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ncmpcpp/Pkgfile') diff --git a/ncmpcpp/Pkgfile b/ncmpcpp/Pkgfile index 5064ab2a5..b65833e6c 100644 --- a/ncmpcpp/Pkgfile +++ b/ncmpcpp/Pkgfile @@ -6,14 +6,16 @@ name=ncmpcpp version=0.8.2 -release=2 -source=(https://github.com/arybczak/$name/archive/$version/$name-$version.tar.gz) +release=3 +source=(https://github.com/arybczak/$name/archive/$version/$name-$version.tar.gz + gcc10.patch) build() { cd $name-$version [[ -e /usr/lib/pkgconfig/fftw3.pc ]] && PKGMK_NCMPCPP+=' --with-fftw --enable-visualizer' [[ -e /usr/lib/pkgconfig/taglib.pc ]] && PKGMK_NCMPCPP+=' --with-taglib' + patch -Np1 -i $SRC/gcc10.patch ./autogen.sh ./configure $PKGMK_NCMPCPP \ --prefix=/usr \ -- cgit v1.2.3