From 7f7da2b5fc01f46d28236384540c7ecfdac16a63 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 11 Mar 2007 21:10:02 +0000 Subject: * Fix group comparison issue and associated compilation warnings by using the alpm strcmp operation which takes void* references. * We had this great visibility patch, but never actually took advantage of it. Added the right compile flag to make it work and added some more SYMEXPORTs where necessary to have a successful compile. --- lib/libalpm/versioncmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/versioncmp.c') diff --git a/lib/libalpm/versioncmp.c b/lib/libalpm/versioncmp.c index 51046848..7e22ec9c 100644 --- a/lib/libalpm/versioncmp.c +++ b/lib/libalpm/versioncmp.c @@ -247,7 +247,7 @@ int _alpm_versioncmp(const char *a, const char *b) return(*one ? 1 : -1); } -int alpm_depcmp(pmpkg_t *pkg, pmdepend_t *dep) +int SYMEXPORT alpm_depcmp(pmpkg_t *pkg, pmdepend_t *dep) { int equal = 0; -- cgit v1.2.3-54-g00ecf