void-packages/srcpkgs/apvlv/patches/fix-gcc6-getline.patch
2016-10-04 00:09:54 +02:00

11 lines
296 B
Diff

--- 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);