summaryrefslogtreecommitdiff
path: root/deskutils/kdepimlibs4/files/patch-gpgme++-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/kdepimlibs4/files/patch-gpgme++-context.cpp')
-rw-r--r--deskutils/kdepimlibs4/files/patch-gpgme++-context.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/deskutils/kdepimlibs4/files/patch-gpgme++-context.cpp b/deskutils/kdepimlibs4/files/patch-gpgme++-context.cpp
new file mode 100644
index 000000000000..836e10518d8d
--- /dev/null
+++ b/deskutils/kdepimlibs4/files/patch-gpgme++-context.cpp
@@ -0,0 +1,13 @@
+--- ../gpgme++/context.cpp.orig 2009-07-01 18:28:59.000000000 -0400
++++ ../gpgme++/context.cpp 2009-07-01 18:30:51.000000000 -0400
+@@ -51,6 +51,10 @@
+ #include <cassert>
+
+ namespace GpgME {
++ void initializeLibrary() {
++ gpgme_check_version( 0 );
++ }
++
+ static inline gpgme_error_t makeError( gpg_err_code_t code ) {
+ return gpg_err_make( (gpg_err_source_t)22, code );
+ }