Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util/testpkg.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-25 15:37:18 -0500
committerDan McGee <dan@archlinux.org>2011-03-25 15:43:08 -0500
commit68701a98aff46821e7e3440d5db233adbe249770 (patch)
tree2ae7ed4447fdcd695aeebda289801d79257609df /src/util/testpkg.c
parent3bc3999bd25647f9b64ea4b4995cad54a8066cc1 (diff)
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 'src/util/testpkg.c')
0 files changed, 0 insertions, 0 deletions