[pacman-dev] [PATCH] Fix --without-gpgme build
Signed-off-by: Allan McRae <allan@archlinux.org> --- This just fixes the build... something is very wrong there: Total = 278 Pass = 161 ( 57.91%) Expected Fail = 8 ( 2.88%) Unexpected Pass = 3 ( 1.08%) Fail = 106 ( 38.13%) lib/libalpm/sync.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index c76b502..be55500 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -969,6 +969,7 @@ finish: return errors; } +#ifdef HAVE_LIBGPGME static int check_keyring(alpm_handle_t *handle) { size_t current = 0, numtargs; @@ -1038,6 +1039,7 @@ static int check_keyring(alpm_handle_t *handle) return 0; } +#endif /* HAVE_LIBGPGME */ static int check_validity(alpm_handle_t *handle, size_t total, size_t total_bytes) -- 1.8.1.3
participants (1)
-
Allan McRae