From 4136443a3a7413ccaa230e023a37084ac1f4d570 Mon Sep 17 00:00:00 2001 From: pixdamix@gmail.com Date: Thu, 22 Nov 2012 04:18:02 -0500 Subject: detect circular dependencies Add logic to detect circular dependencies. If we see any dependency from any given parent twice, ignore it the second time and print a notice message that we did so. Signed-off-by: Richard Purdie Signed-off-by: Martin Jansa git-svn-id: http://opkg.googlecode.com/svn/trunk@641 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/pkg.h') diff --git a/libopkg/pkg.h b/libopkg/pkg.h index 775b656..5d468cb 100644 --- a/libopkg/pkg.h +++ b/libopkg/pkg.h @@ -129,6 +129,7 @@ struct pkg char *description; char *tags; pkg_state_want_t state_want; + pkg_vec_t *wanted_by; pkg_state_flag_t state_flag; pkg_state_status_t state_status; char **depends_str; -- cgit v0.9.1