diff --git a/srcpkgs/apvlv/patches/fix-gcc6-getline.patch b/srcpkgs/apvlv/patches/fix-gcc6-getline.patch new file mode 100644 index 00000000000..66dae781332 --- /dev/null +++ b/srcpkgs/apvlv/patches/fix-gcc6-getline.patch @@ -0,0 +1,11 @@ +--- src/ApvlvParams.cc 2015-01-10 15:04:24.000000000 +0100 ++++ src/ApvlvParams.cc 2016-10-04 00:06:58.187468048 +0200 +@@ -90,7 +90,7 @@ + return false; + } + +- while ((getline (os, str)) != NULL) ++ while (getline (os, str)) + { + string argu, data, crap; + stringstream is (str); diff --git a/srcpkgs/apvlv/template b/srcpkgs/apvlv/template index 9d756dcdea8..06eaacbad3e 100644 --- a/srcpkgs/apvlv/template +++ b/srcpkgs/apvlv/template @@ -1,7 +1,7 @@ # Template file for 'apvlv' pkgname=apvlv version=0.1.5 -revision=3 +revision=4 build_style=cmake configure_args="-DAPVLV_WITH_UMD=no -DAPVLV_WITH_DJVU=yes -DAPVLV_WITH_TXT=yes" hostmakedepends="cmake pkg-config"