index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-07-16 19:05:34 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-08-08 10:42:26 +1000 |
commit | ae97082e98b6c3984799ba9f3f6ccc6ef5da6034 (patch) | |
tree | 3e849778a67c3687dfdebebd8cfc9815513241ad /lib/libalpm/handle.c | |
parent | 48f4efd9a18966509bd599684e77d3ad49d5b082 (diff) |
-rw-r--r-- | lib/libalpm/handle.c | 2 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index f336bf2b..a12ac50d 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -597,6 +597,8 @@ int SYMEXPORT alpm_option_add_assumeinstalled(alpm_handle_t *handle, const alpm_ RET_ERR(handle, ALPM_ERR_WRONG_ARGS, -1)); ASSERT((depcpy = _alpm_dep_dup(dep)), RET_ERR(handle, ALPM_ERR_MEMORY, -1)); + /* fill in name_hash in case dep was built by hand */ + depcpy->name_hash = _alpm_hash_sdbm(dep->name); handle->assumeinstalled = alpm_list_add(handle->assumeinstalled, depcpy); return 0; } |