aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-26 16:20:43 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-26 16:20:43 +0000
commitb8c78e77af1d790d2a3224e6e8eac2af75d80f8f (patch)
tree9e5901acea91cb3ff5340a183c1749bc1196134a
parentf8241e85c77382c4560ad2c39a86d98587492715 (diff)
downloadpaludis-b8c78e77af1d790d2a3224e6e8eac2af75d80f8f.tar.gz
paludis-b8c78e77af1d790d2a3224e6e8eac2af75d80f8f.tar.xz
Fix
-rw-r--r--paludis/repositories/gentoo/vdb_repository.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/repositories/gentoo/vdb_repository.cc b/paludis/repositories/gentoo/vdb_repository.cc
index 4647b32..60acf9d 100644
--- a/paludis/repositories/gentoo/vdb_repository.cc
+++ b/paludis/repositories/gentoo/vdb_repository.cc
@@ -1329,8 +1329,9 @@ VDBRepository::load_provided_using_cache() const
PackageDatabaseEntry dbe(QualifiedPackageName(tokens.at(0)), VersionSpec(tokens.at(1)), name());
DepSpecFlattener f(_imp->env, &dbe);
- PortageDepParser::parse_provide(
- join(next(next(tokens.begin())), tokens.end(), " "))->accept(f);
+ tr1::shared_ptr<ProvideSpecTree::ConstItem> p(PortageDepParser::parse_provide(
+ join(next(next(tokens.begin())), tokens.end(), " ")));
+ p->accept(f);
for (DepSpecFlattener::Iterator p(f.begin()), p_end(f.end()) ; p != p_end ; ++p)
result->insert(RepositoryProvidesEntry::create()