summaryrefslogtreecommitdiff
path: root/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/apvlv/files/apvlv-0.1.5-gcc6.patch')
-rw-r--r--app-text/apvlv/files/apvlv-0.1.5-gcc6.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch b/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch
new file mode 100644
index 000000000000..0ffe3659d6d7
--- /dev/null
+++ b/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch
@@ -0,0 +1,12 @@
+diff -Naur apvlv-0.1.5.orig/src/ApvlvParams.cc apvlv-0.1.5/src/ApvlvParams.cc
+--- apvlv-0.1.5.orig/src/ApvlvParams.cc 2015-01-10 15:04:24.000000000 +0100
++++ apvlv-0.1.5/src/ApvlvParams.cc 2017-02-09 20:03:08.655402750 +0100
+@@ -90,7 +90,7 @@
+ return false;
+ }
+
+- while ((getline (os, str)) != NULL)
++ while (getline (os, str))
+ {
+ string argu, data, crap;
+ stringstream is (str);