apvlv: fix gcc6 build
This commit is contained in:
parent
5ca00fc84c
commit
cdd516351b
11
srcpkgs/apvlv/patches/fix-gcc6-getline.patch
Normal file
11
srcpkgs/apvlv/patches/fix-gcc6-getline.patch
Normal file
|
@ -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);
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user