aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/fix_locked_dependencies.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-09-02 03:57:54 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-09-02 03:57:54 +0100
commitd98625c61d292ea5368d008fd88dcd9caf0019a1 (patch)
treec237d7ebf824092ae0447037651160e85aa3ec65 /paludis/repositories/e/fix_locked_dependencies.cc
parent313714a7bda2040516335f2dab34bf4435665948 (diff)
downloadpaludis-d98625c61d292ea5368d008fd88dcd9caf0019a1.tar.gz
paludis-d98625c61d292ea5368d008fd88dcd9caf0019a1.tar.xz
Preserve annotations when copying.
Diffstat (limited to 'paludis/repositories/e/fix_locked_dependencies.cc')
-rw-r--r--paludis/repositories/e/fix_locked_dependencies.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/paludis/repositories/e/fix_locked_dependencies.cc b/paludis/repositories/e/fix_locked_dependencies.cc
index f60ddbe6f..cc0eff484 100644
--- a/paludis/repositories/e/fix_locked_dependencies.cc
+++ b/paludis/repositories/e/fix_locked_dependencies.cc
@@ -146,12 +146,10 @@ namespace
if (matches->empty())
break;
- PackageDepSpec new_s(partial_parse_elike_package_dep_spec(stringify(s),
- eapi.supported()->package_dep_spec_parse_options(), id).slot_requirement(
+ PackageDepSpec new_s(PartiallyMadePackageDepSpec(s).slot_requirement(
make_shared_ptr(new ELikeSlotExactRequirement((*matches->last())->slot(), true))));
-
c.reset(new TreeLeaf<DependencySpecTree, PackageDepSpec>(std::tr1::static_pointer_cast<PackageDepSpec>(
- PackageDepSpec(new_s).clone())));
+ new_s.clone())));
} while (false);
if (! c)