summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-02-11 13:39:57 +1000
committerAllan McRae <allan@archlinux.org>2013-02-13 11:50:33 +1000
commit87ffc648b7bce35dcc55dd43dce832669f83e894 (patch)
treee397e8103c9243e45f3f431fdeaacda6662b0f2a
parent1d0a69c655ccdeb1b87e0d2ebbe401acd7925351 (diff)
downloadpacman-87ffc648b7bce35dcc55dd43dce832669f83e894.tar.xz
Fix --without-gpgme build
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index c76b502a..be55500c 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)