aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_graph_jobs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_graph_jobs.cc')
-rw-r--r--src/clients/cave/cmd_graph_jobs.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_graph_jobs.cc b/src/clients/cave/cmd_graph_jobs.cc
index 5583422b7..2d1019b3e 100644
--- a/src/clients/cave/cmd_graph_jobs.cc
+++ b/src/clients/cave/cmd_graph_jobs.cc
@@ -21,7 +21,9 @@
#include "resolve_cmdline.hh"
#include "exceptions.hh"
#include "command_command_line.hh"
+
#include <paludis/args/do_help.hh>
+
#include <paludis/util/safe_ifstream.hh>
#include <paludis/util/make_named_values.hh>
#include <paludis/util/make_shared_copy.hh>
@@ -31,13 +33,16 @@
#include <paludis/util/fs_path.hh>
#include <paludis/util/join.hh>
#include <paludis/util/process.hh>
+
#include <paludis/resolver/job_list.hh>
#include <paludis/resolver/job_lists.hh>
#include <paludis/resolver/job.hh>
#include <paludis/resolver/job_requirements.hh>
+
#include <paludis/serialise-impl.hh>
#include <paludis/dep_spec.hh>
#include <paludis/name.hh>
+#include <paludis/package_dep_spec_constraint.hh>
#include <iostream>
#include <cstdlib>
@@ -86,11 +91,11 @@ namespace
std::string short_spec(const PackageDepSpec & p, bool full)
{
- if (full || ! p.package_ptr())
+ if (full || ! p.package_name_constraint())
return stringify(p);
else
{
- std::string result(stringify(p.package_ptr()->package()));
+ std::string result(stringify(p.package_name_constraint()->name().package()));
if (p.slot_requirement_ptr())
result = result + stringify(*p.slot_requirement_ptr());
if (p.in_repository_ptr())