summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hartwig <mandyke@gmail.com>2012-04-27 15:31:00 +0800
committerDaniel Hartwig <mandyke@gmail.com>2012-04-27 15:38:26 +0800
commit756abab0195c4f5f5513cc66ed6f1e71d5f8249e (patch)
treee99bd4ea90322e163d6462d96fdb2fcbd258d0f9
parentda06db9f7caf61fad54f76005506a67c1f925d5a (diff)
downloadaptitude-756abab0195c4f5f5513cc66ed6f1e71d5f8249e.tar.gz
Use arch-qualified names in 'Provided by' for virtual packages
LP: #972847
-rw-r--r--NEWS3
-rw-r--r--src/cmdline/cmdline_show.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a22c2525..e6580255 100644
--- a/NEWS
+++ b/NEWS
@@ -28,6 +28,9 @@ Version 0.6.7 "I said 'Step pause turn
* [curses]: Apply patch from Ubuntu: don't mention 'su' in 'Become
root'.
+ * [cmdline]: Use arch-qualified names in 'Provided by' for virtual
+ packages (LP: #972847)
+
- Build system changes:
* [all]: Include build of gtest when building gmock. (Closes: #670403)
diff --git a/src/cmdline/cmdline_show.cc b/src/cmdline/cmdline_show.cc
index 6dc4d7ed..287404ac 100644
--- a/src/cmdline/cmdline_show.cc
+++ b/src/cmdline/cmdline_show.cc
@@ -149,7 +149,7 @@ static cwidget::fragment *prv_lst_frag(pkgCache::PrvIterator prv,
for( ; !prv.end(); ++prv)
{
- string name = prv.OwnerPkg().Name();
+ const string name = prv.OwnerPkg().FullName(true);
const char *version = prv.OwnerVer().VerStr();
if(version != NULL)