Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / external / gpgmepp / add-gpgme_set_global_flag-wrapper.patch
blobfade88a3e2b2b0d52e30887bd70d585cb4ffa000
1 diff -ur lang/cpp/src/context.cpp.old lang/cpp/src/context.cpp
2 --- lang/cpp/src/context.cpp.old 2019-04-20 16:03:09.575605300 +0300
3 +++ lang/cpp/src/context.cpp 2019-04-20 16:06:43.078419700 +0300
4 @@ -1656,6 +1656,11 @@
5 return Error(gpgme_engine_check_version(p));
8 +int GpgME::setGlobalFlag(const char *name, const char *value)
9 +{
10 + return gpgme_set_global_flag(name, value);
13 static const unsigned long supported_features = 0
14 | GpgME::ValidatingKeylistModeFeature
15 | GpgME::CancelOperationFeature
16 diff -ur lang/cpp/src/global.h lang/cpp/src/global.h
17 --- lang/cpp/src/global.h.old 2016-09-07 09:48:44.000000000 +0300
18 +++ lang/cpp/src/global.h 2019-04-20 16:06:41.918912600 +0300
19 @@ -95,6 +95,8 @@
20 GPGMEPP_EXPORT Error checkEngine(Protocol proto);
21 GPGMEPP_EXPORT Error checkEngine(Engine engine);
23 +GPGMEPP_EXPORT int setGlobalFlag(const char *name, const char *value);
25 GPGMEPP_EXPORT GIOChannel *getGIOChannel(int fd);
26 GPGMEPP_EXPORT QIODevice *getQIODevice(int fd);