app-text/apvlv: Fix gcc6 compilation (#597670)
[gentoo.git] / app-text / apvlv / files / apvlv-0.1.5-gcc6.patch
1 diff -Naur apvlv-0.1.5.orig/src/ApvlvParams.cc apvlv-0.1.5/src/ApvlvParams.cc
2 --- apvlv-0.1.5.orig/src/ApvlvParams.cc 2015-01-10 15:04:24.000000000 +0100
3 +++ apvlv-0.1.5/src/ApvlvParams.cc      2017-02-09 20:03:08.655402750 +0100
4 @@ -90,7 +90,7 @@
5         return false;
6        }
7  
8 -    while ((getline (os, str)) != NULL)
9 +    while (getline (os, str))
10        {
11         string argu, data, crap;
12         stringstream is (str);