summaryrefslogtreecommitdiff
path: root/dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch')
-rw-r--r--dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch b/dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch
new file mode 100644
index 000000000000..c1f41cd7e6e0
--- /dev/null
+++ b/dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch
@@ -0,0 +1,12 @@
+diff -Naur cpik-0.7.2-4-orig/utility.h cpik-0.7.2-4/utility.h
+--- cpik-0.7.2-4-orig/utility.h 2017-12-03 03:47:35.302504007 +0100
++++ cpik-0.7.2-4/utility.h 2017-12-03 03:47:59.537116442 +0100
+@@ -75,7 +75,7 @@
+ static bool stringTo ( const string& s, T& result )
+ {
+ istringstream is ( s ) ;
+- return is >> result ;
++ return static_cast<bool>(is >> result);
+ }
+
+ /** generic conversion from T to string */