https://bugs.kde.org/show_bug.cgi?id=368462

--- Comment #10 from Steven Noonan <ste...@uplinklabs.net> ---
Something like this would work though:

diff --git a/core/convert.cpp b/core/convert.cpp
index 1f30739..2939767 100644
--- a/core/convert.cpp
+++ b/core/convert.cpp
@@ -28,10 +28,10 @@
 #include "kgpgsettings.h"

 // Backport of gpgme enums from version 1.7.0
-#ifndef GPGME_PK_EDDSA
+#if GPGME_VERSION_NUMBER < 0x010700
 #define GPGME_PK_EDDSA 303
 #endif
-#ifndef GPGME_PK_ECC
+#if GPGME_VERSION_NUMBER < 0x010500
 #define GPGME_PK_ECC 18
 #endif

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to