index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2012-04-01 15:37:19 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-07 11:29:55 -0500 |
commit | 3be02aa27c892b2bcc76a8883a0087b51c0e768b (patch) | |
tree | c54fbc9e9ea11371d71a7cd6b27fe28677caf76d /lib/libalpm/be_local.c | |
parent | 42d408e0c253beca56f640729a85badffedd8a3f (diff) |
-rw-r--r-- | lib/libalpm/be_local.c | 4 |
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index 9090c815..39df15b0 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -448,7 +448,7 @@ static int local_db_populate(alpm_db_t *db) continue; } - pkg->origin = PKG_FROM_LOCALDB; + pkg->origin = ALPM_PKG_FROM_LOCALDB; pkg->origin_data.db = db; pkg->ops = &local_pkg_ops; pkg->handle = db->handle; @@ -968,7 +968,7 @@ int _alpm_local_db_remove(alpm_db_t *db, alpm_pkg_t *info) int SYMEXPORT alpm_pkg_set_reason(alpm_pkg_t *pkg, alpm_pkgreason_t reason) { ASSERT(pkg != NULL, return -1); - ASSERT(pkg->origin == PKG_FROM_LOCALDB, + ASSERT(pkg->origin == ALPM_PKG_FROM_LOCALDB, RET_ERR(pkg->handle, ALPM_ERR_WRONG_ARGS, -1)); ASSERT(pkg->origin_data.db == pkg->handle->db_local, RET_ERR(pkg->handle, ALPM_ERR_WRONG_ARGS, -1)); |