blob: b3242ce9f265989fca142ebee2b4c9b24a42bef1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
https://bugs.gentoo.org/961310
https://gitlab.gnome.org/GNOME/seahorse/-/commit/aa68522cc696fa491ccfdff735b77bcf113168d0
From aa68522cc696fa491ccfdff735b77bcf113168d0 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao <xry111@xry111.site>
Date: Wed, 4 Jun 2025 19:17:00 +0800
Subject: [PATCH] pgp: Allow build with gpgme >= 2.0.0
Since gpgme-2.0.0, GPGME_EVENT_NEXT_TRUSTITEM is removed.
--- a/pgp/seahorse-gpgme.c
+++ b/pgp/seahorse-gpgme.c
@@ -393,7 +393,9 @@ on_gpgme_event (void *user_data,
break;
case GPGME_EVENT_NEXT_KEY:
+#if GPGME_VERSION_NUMBER < 0x020000
case GPGME_EVENT_NEXT_TRUSTITEM:
+#endif
default:
/* Ignore unsupported event types */
break;
--
GitLab
|