[pacman-dev] [PATCH] Fix compilation without gpgme

Allan McRae allan at archlinux.org
Sat Jul 16 11:50:01 EDT 2011


Signed-off-by: Allan McRae <allan at archlinux.org>
---

Note that the testsuite really does not handle building pacman without gpgme
very well...

Total            = 242
Pass             = 173 ( 71.49%)
Expected Fail    =   8 (  3.31%)
Unexpected Pass  =   2 (  0.83%)
Fail             =  59 ( 24.38%)


 lib/libalpm/signing.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
index cfa9a02..ae90378 100644
--- a/lib/libalpm/signing.c
+++ b/lib/libalpm/signing.c
@@ -391,8 +391,8 @@ error:
 	return ret;
 }
 #else
-int _alpm_gpgme_checksig(alpm_handle_t *handle, const char *path,
-		const char *base64_sig)
+int _alpm_gpgme_checksig(alpm_handle_t UNUSED *handle, const char UNUSED *path,
+		const char UNUSED *base64_sig, alpm_sigresult_t UNUSED *result)
 {
 	return -1;
 }
-- 
1.7.6



More information about the pacman-dev mailing list