aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-02-16 20:08:47 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-02-16 20:08:47 +0000
commit1bb56e2ecab69369adbd1851a504a2fd2bdcf8c5 (patch)
tree4d738a55a20fa8e0553d1a8113010d8263762841
parent2eb8048621af7db9d26a3a8b89c338b39ca24ae4 (diff)
downloadpaludis-1bb56e2ecab69369adbd1851a504a2fd2bdcf8c5.tar.gz
paludis-1bb56e2ecab69369adbd1851a504a2fd2bdcf8c5.tar.xz
Copy annotations when rewriting specs
-rw-r--r--paludis/repositories/e/fix_locked_dependencies.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/paludis/repositories/e/fix_locked_dependencies.cc b/paludis/repositories/e/fix_locked_dependencies.cc
index df899c8..cd2f816 100644
--- a/paludis/repositories/e/fix_locked_dependencies.cc
+++ b/paludis/repositories/e/fix_locked_dependencies.cc
@@ -115,6 +115,7 @@ namespace
{
PackageDepSpec new_s(PartiallyMadePackageDepSpec(*node.spec()).slot_requirement(
std::make_shared<ELikeSlotExactRequirement>((*matches->last())->slot_key()->parse_value(), true)));
+ new_s.set_annotations(node.spec()->maybe_annotations());
c = std::make_shared<PackageDepSpec>(new_s);
}
} while (false);