gentoo/dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch
Andreas Sturmlechner e7d86bea7c
dev-embedded/cpik: Switch to Qt6, update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/966833
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-11-29 23:32:00 +01:00

13 lines
387 B
Diff

diff -Naur a/utility.h b/utility.h
--- a/utility.h 2017-12-03 03:47:35.302504007 +0100
+++ b/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 */