# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/seahorse/hotfix-gpgme2.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- Upstream aa68522c: allow build with gpgme >= 2.0.0, which removed the trust items. diff --git a/pgp/seahorse-gpgme.c b/pgp/seahorse-gpgme.c index 5203c83a..9b2b3c10 100644 --- 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;