[pacman-dev] [PATCH] Add compatibility with gpgme-1.5.0
Dave Reisner
d at falconindy.com
Sun Jun 1 20:13:35 EDT 2014
On Sun, Jun 01, 2014 at 06:56:01PM -0500, Dan McGee wrote:
> On Sun, Jun 1, 2014 at 6:44 PM, Allan McRae <allan at archlinux.org> wrote:
>
> > Signed-off-by: Allan McRae <allan at archlinux.org>
> > ---
> > lib/libalpm/signing.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
> > index caacd24..b14945b 100644
> > --- a/lib/libalpm/signing.c
> > +++ b/lib/libalpm/signing.c
> > @@ -342,6 +342,7 @@ static int key_search(alpm_handle_t *handle, const
> > char *fpr,
> > case GPGME_PK_ELG:
> > case GPGME_PK_ECDSA:
> > case GPGME_PK_ECDH:
> >
> #ifdef GPGME_PK_ECC
>
> > + case GPGME_PK_ECC:
> >
> #endif
>
> Worth it for backward compat?
>
This doesn't work, since GPGME_PK_ECC is part of an enum, and not a
preprocessor definition.
> > pgpkey->pubkey_algo = 'E';
> > break;
> > }
> > --
> > 2.0.0
> >
> >
> >
>
More information about the pacman-dev
mailing list