aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-25 18:33:08 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-25 18:33:08 +0000
commitc705ec6c15e98855834311db514241588916e289 (patch)
tree7c501a5753873ba5f940481386b596091ba46f0b
parent9a89b27b668c8176d6c81ac26e45a71e3058e54d (diff)
downloadpaludis-c705ec6c15e98855834311db514241588916e289.tar.gz
paludis-c705ec6c15e98855834311db514241588916e289.tar.xz
Fix news implementation
-rw-r--r--paludis/repositories/gentoo/portage_repository_news.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/repositories/gentoo/portage_repository_news.cc b/paludis/repositories/gentoo/portage_repository_news.cc
index 53accb2..15e9a31 100644
--- a/paludis/repositories/gentoo/portage_repository_news.cc
+++ b/paludis/repositories/gentoo/portage_repository_news.cc
@@ -119,7 +119,8 @@ PortageRepositoryNews::update_news() const
for (NewsFile::DisplayIfInstalledIterator i(news.begin_display_if_installed()),
i_end(news.end_display_if_installed()) ; i != i_end ; ++i)
if (! _imp->environment->package_database()->query(
- query::Package(*i) & query::RepositoryHasInstalledInterface(),
+ query::Matches(PackageDepSpec(*i, pds_pm_permissive)) &
+ query::RepositoryHasInstalledInterface(),
qo_whatever)->empty())
local_show = true;
show &= local_show;