From a75baf5a7b8bbc3a5ee319bc921820ce7e0358d4 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 6 May 2012 21:08:47 -0500 Subject: [PATCH] main: make 'world' package virtual --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index 23469ff..eef1128 100644 --- a/main.c +++ b/main.c @@ -270,6 +270,7 @@ pkg_queue_walk(pkg_queue_t *head) pkg_t world = (pkg_t){ .id = "world", .realname = "virtual", + .flags = PKG_PROPF_VIRTUAL, }; /* if maximum_traverse_depth is one, then we will not traverse deeper @@ -390,6 +391,8 @@ pkg_queue_walk(pkg_queue_t *head) if (wanted_something) printf("\n"); + pkg_free(&world); + return EXIT_SUCCESS; }