From: Vincent Lefevre Date: Fri, 25 Nov 2016 23:57:42 +0000 (+0100) Subject: Fix build failure with GPGME 1.8: do not steal the gpgme_ prefix. X-Git-Tag: neomutt-20170225~32^2~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d6dd16c2d749801d1999804f560d7bf86fa5acf;p=neomutt Fix build failure with GPGME 1.8: do not steal the gpgme_ prefix. --- diff --git a/crypt-gpgme.c b/crypt-gpgme.c index 51d5569b9..e8e0b1352 100644 --- a/crypt-gpgme.c +++ b/crypt-gpgme.c @@ -4945,7 +4945,7 @@ int smime_gpgme_verify_sender (HEADER *h) return verify_sender (h, GPGME_PROTOCOL_CMS); } -void gpgme_set_sender (const char *sender) +void mutt_gpgme_set_sender (const char *sender) { mutt_error ("[setting sender] mailbox: %s\n", sender); FREE (¤t_sender); diff --git a/crypt-gpgme.h b/crypt-gpgme.h index 11ca6a60f..7f5ecda37 100644 --- a/crypt-gpgme.h +++ b/crypt-gpgme.h @@ -53,6 +53,6 @@ int smime_gpgme_send_menu (HEADER *msg, int *redraw); int smime_gpgme_verify_sender (HEADER *h); -void gpgme_set_sender (const char *sender); +void mutt_gpgme_set_sender (const char *sender); #endif diff --git a/crypt-mod-pgp-gpgme.c b/crypt-mod-pgp-gpgme.c index 948585c45..183f4eeec 100644 --- a/crypt-mod-pgp-gpgme.c +++ b/crypt-mod-pgp-gpgme.c @@ -104,7 +104,7 @@ static BODY *crypt_mod_pgp_make_key_attachment (char *tempf) static void crypt_mod_pgp_set_sender (const char *sender) { - gpgme_set_sender (sender); + mutt_gpgme_set_sender (sender); } struct crypt_module_specs crypt_mod_pgp_gpgme =