aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unavailable/unavailable_repository_file.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-03-22 15:17:45 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-03-22 15:17:24 +0000
commit7d0466af57231a0b727f4a619434fb80bbbbc5ff (patch)
tree31c12cce3c043d30bf29b44cd5606b39c09cbd08 /paludis/repositories/unavailable/unavailable_repository_file.cc
parente025e1b8be908dccb561b4e11e426ac84f3f5561 (diff)
downloadpaludis-7d0466af57231a0b727f4a619434fb80bbbbc5ff.tar.gz
paludis-7d0466af57231a0b727f4a619434fb80bbbbc5ff.tar.xz
VersionSpecOptions(), but don't use them
Diffstat (limited to 'paludis/repositories/unavailable/unavailable_repository_file.cc')
-rw-r--r--paludis/repositories/unavailable/unavailable_repository_file.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/repositories/unavailable/unavailable_repository_file.cc b/paludis/repositories/unavailable/unavailable_repository_file.cc
index 8c395e690..7fa5d0b04 100644
--- a/paludis/repositories/unavailable/unavailable_repository_file.cc
+++ b/paludis/repositories/unavailable/unavailable_repository_file.cc
@@ -29,6 +29,7 @@
#include <paludis/name.hh>
#include <paludis/version_spec.hh>
#include <paludis/literal_metadata_key.hh>
+#include <paludis/user_dep_spec.hh>
#include <list>
using namespace paludis;
@@ -160,7 +161,7 @@ UnavailableRepositoryFile::_load(const FSEntry & f)
(+simple_parser::any_except(" \t") >> token) &
(+simple_parser::any_of(" \t"))
))
- versions.push_back(VersionSpec(token));
+ versions.push_back(VersionSpec(token, user_version_spec_options()));
else
throw UnavailableRepositoryConfigurationError(
"Cannot parse body version line '" + line + " in '" + stringify(f) + "'");