queue: namespace the virtual 'world' package as something that could never actually exist

pull/92/head
William Pitcock 2016-05-20 02:06:46 -05:00
parent 2516f7c185
commit f44f83998c
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ bool
pkgconf_queue_apply(pkgconf_list_t *list, pkgconf_queue_apply_func_t func, int maxdepth, unsigned int flags, void *data) pkgconf_queue_apply(pkgconf_list_t *list, pkgconf_queue_apply_func_t func, int maxdepth, unsigned int flags, void *data)
{ {
pkgconf_pkg_t world = { pkgconf_pkg_t world = {
.id = "world", .id = "virtual:world",
.realname = "virtual world package", .realname = "virtual world package",
.flags = PKGCONF_PKG_PROPF_VIRTUAL, .flags = PKGCONF_PKG_PROPF_VIRTUAL,
}; };
@ -100,7 +100,7 @@ pkgconf_queue_validate(pkgconf_list_t *list, int maxdepth, unsigned int flags)
{ {
bool retval = true; bool retval = true;
pkgconf_pkg_t world = { pkgconf_pkg_t world = {
.id = "world", .id = "virtual:world",
.realname = "virtual world package", .realname = "virtual world package",
.flags = PKGCONF_PKG_PROPF_VIRTUAL, .flags = PKGCONF_PKG_PROPF_VIRTUAL,
}; };