View | Details | Raw Unified | Return to bug 214687
Collapse All | Expand All

(-)security/gpgme/files/patch-lang_cpp_src_engineinfo.h (+17 lines)
Line 0 Link Here
1
In file included from qgpgmebackend.cpp:42:0:
2
../../../lang/cpp/src/engineinfo.h: In constructor 'GpgME::EngineInfo::Version::Version(const string&)':
3
../../../lang/cpp/src/engineinfo.h:47:17: error: 'sscanf' is not a member of 'std'
4
                 std::sscanf(version.c_str(), "%d.%d.%d", &major, &minor, &patch) != 3) {
5
                 ^
6
7
8
--- lang/cpp/src/engineinfo.h.orig	2016-11-20 11:59:52 UTC
9
+++ lang/cpp/src/engineinfo.h
10
@@ -30,6 +30,7 @@
11
 #include <algorithm>
12
 #include <string>
13
 #include <iostream>
14
+#include <cstdio>
15
 
16
 namespace GpgME
17
 {

Return to bug 214687