[PATCH] gpa: needs gpgme 1.11.1
    Werner Koch 
    wk at gnupg.org
       
    Thu Oct 18 11:31:58 CEST 2018
    
    
  
On Wed, 17 Oct 2018 21:56, astieger at suse.com said:
> Hello,
>
> It would seem that gpa needs gpgme 1.11.1 to build. See attached patch.
I wonder why this should be the case.  
> 9e11986 references GPGME_AUDITLOG_DIAG (new in gpgme 1.11.1)
The code is only build if gpgme is recent enough:
--8<---------------cut here---------------start------------->8---
#if GPGME_VERSION_NUMBER >= 0x010c00 /* >= 1.12 */
  gpgme_data_t diag;
  char *info, *buffer, *result;
  gpg_error_t err;
  gpgme_engine_info_t engine;
  gpgme_protocol_t proto;
  int need_gpgme_free;
  if (!context)
    return NULL;
  if (gpgme_data_new (&diag))
    return NULL;  /* Ooops.  */
  context->inhibit_gpgme_events++;
  err = gpgme_op_getauditlog (context->ctx, diag, GPGME_AUDITLOG_DIAG);
--8<---------------cut here---------------end--------------->8---
I wonder what went wrong here.
> f160e92 references GPGME_KEYLIST_MODE_LOCATE (new in 1.11.0)
You are right.  A simple fix is attached.
Salam-Shalom,
   Werner
-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Replace-use-of-the-GPGME_KEYLIST_MODE_LOCATE-alias.patch
Type: text/x-diff
Size: 1129 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20181018/75f83cee/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20181018/75f83cee/attachment.sig>
    
    
More information about the Gnupg-devel
mailing list