aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-18 09:01:46 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-18 09:01:46 +0000
commit665c7d90e8d9379513d41826f9875547d93fc3b4 (patch)
treed719745836b57a93850cb122f28af78872feb7f6
parent8515cf6287f5cd9adc4a4c5b809a9c5e108a299a (diff)
downloadpaludis-665c7d90e8d9379513d41826f9875547d93fc3b4.tar.gz
paludis-665c7d90e8d9379513d41826f9875547d93fc3b4.tar.xz
Add a destination field to DepListEntry. Not yet used.
-rw-r--r--paludis/dep_list/dep_list.cc3
-rw-r--r--paludis/dep_list/dep_list.sr1
2 files changed, 4 insertions, 0 deletions
diff --git a/paludis/dep_list/dep_list.cc b/paludis/dep_list/dep_list.cc
index 5e4b924..a517183 100644
--- a/paludis/dep_list/dep_list.cc
+++ b/paludis/dep_list/dep_list.cc
@@ -653,6 +653,7 @@ DepList::add_package(const PackageDatabaseEntry & p, DepTag::ConstPointer tag)
.generation(_imp->merge_list_generation)
.state(dle_no_deps)
.tags(DepListEntryTags::Pointer(new DepListEntryTags::Concrete))
+ .destinations(RepositoryNameCollection::Pointer(new RepositoryNameCollection::Concrete))
.skip_install(metadata->get_virtual_interface()))),
our_merge_entry_post_position(our_merge_entry_position);
@@ -705,6 +706,7 @@ DepList::add_package(const PackageDatabaseEntry & p, DepTag::ConstPointer tag)
.generation(_imp->merge_list_generation)
.state(dle_has_all_deps)
.tags(DepListEntryTags::Pointer(new DepListEntryTags::Concrete))
+ .destinations(RepositoryNameCollection::Pointer(new RepositoryNameCollection::Concrete))
.skip_install(m->get_virtual_interface())));
}
}
@@ -780,6 +782,7 @@ DepList::add_already_installed_package(const PackageDatabaseEntry & p, DepTag::C
.generation(_imp->merge_list_generation)
.tags(DepListEntryTags::Pointer(new DepListEntryTags::Concrete))
.state(dle_has_pre_deps)
+ .destinations(RepositoryNameCollection::Pointer(new RepositoryNameCollection::Concrete))
.skip_install(true)));
if (tag)
diff --git a/paludis/dep_list/dep_list.sr b/paludis/dep_list/dep_list.sr
index 691ea4e..211dc3f 100644
--- a/paludis/dep_list/dep_list.sr
+++ b/paludis/dep_list/dep_list.sr
@@ -43,6 +43,7 @@ make_class_DepListEntry()
key package PackageDatabaseEntry
key metadata VersionMetadata::ConstPointer
key tags DepListEntryTags::Pointer
+ key destinations RepositoryNameCollection::Pointer
key generation long
key state DepListEntryState