aboutsummaryrefslogtreecommitdiff
path: root/paludis
diff options
context:
space:
mode:
Diffstat (limited to 'paludis')
-rw-r--r--paludis/mask.hh2
-rw-r--r--paludis/repositories/e/e_repository_mask_file.cc6
2 files changed, 7 insertions, 1 deletions
diff --git a/paludis/mask.hh b/paludis/mask.hh
index 5528842de..90dfce4a2 100644
--- a/paludis/mask.hh
+++ b/paludis/mask.hh
@@ -49,6 +49,7 @@ namespace paludis
typedef Name<struct name_mask> mask;
typedef Name<struct name_mask_file> mask_file;
typedef Name<struct name_override_reason> override_reason;
+ typedef Name<struct name_token> token;
}
/**
@@ -66,6 +67,7 @@ namespace paludis
{
NamedValue<n::comment, std::shared_ptr<const Sequence<std::string> > > comment;
NamedValue<n::mask_file, FSPath> mask_file;
+ NamedValue<n::token, std::string> token;
};
/**
diff --git a/paludis/repositories/e/e_repository_mask_file.cc b/paludis/repositories/e/e_repository_mask_file.cc
index 9a548f14f..edae90d60 100644
--- a/paludis/repositories/e/e_repository_mask_file.cc
+++ b/paludis/repositories/e/e_repository_mask_file.cc
@@ -84,7 +84,11 @@ MaskFile::MaskFile(const FSPath & f, const LineConfigFileOptions & opts) :
}
_imp->lines.push_back(std::make_pair(*it, std::shared_ptr<RepositoryMaskInfo>(std::make_shared<RepositoryMaskInfo>(
- make_named_values<RepositoryMaskInfo>(n::comment() = comment, n::mask_file() = f)))));
+ make_named_values<RepositoryMaskInfo>(
+ n::comment() = comment,
+ n::mask_file() = f,
+ n::token() = ""
+ )))));
comment_used = true;
}
}