diff options
author | Dan McGee <dan@archlinux.org> | 2007-03-11 22:10:02 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-11 22:10:02 +0100 |
commit | 7f7da2b5fc01f46d28236384540c7ecfdac16a63 (patch) | |
tree | e9b3c02bdc36206e64878ceeef74a9fdf48112ff /lib/libalpm/versioncmp.c | |
parent | f94506396f25cba8a0d485c8d681482db0bd33bb (diff) | |
download | pacman-7f7da2b5fc01f46d28236384540c7ecfdac16a63.tar.gz pacman-7f7da2b5fc01f46d28236384540c7ecfdac16a63.tar.xz |
* 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.
Diffstat (limited to 'lib/libalpm/versioncmp.c')
-rw-r--r-- | lib/libalpm/versioncmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |