diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-25 15:37:18 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-25 15:43:08 -0500 |
commit | 68701a98aff46821e7e3440d5db233adbe249770 (patch) | |
tree | 2ae7ed4447fdcd695aeebda289801d79257609df /lib/libalpm/db.c | |
parent | 3bc3999bd25647f9b64ea4b4995cad54a8066cc1 (diff) | |
download | pacman-68701a98aff46821e7e3440d5db233adbe249770.tar.xz |
Ensure reported missing dependencies show correct version comparison
This addresses FS#23424. The -dd backend code was introduced in commit
b6ec9019d77, and unfortunately the munged depend used for comparison did
not carry through to the eventual display of this version. To fix this,
we undo some of the depcmp_tolerant() business introduced, and instead
make a new pmdepend_t object if necessary when the no dependency version
flag is set. This results in the correct depend being copied to the
missing depend passed onto the frontend.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
0 files changed, 0 insertions, 0 deletions