summaryrefslogtreecommitdiff
path: root/pkg.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2005-07-14 13:04:45 +0000
committerArch Librarian <arch@canonical.com>2005-07-14 13:04:45 +0000
commit4722cb5782c1bae583e61b1876d1e58e5c720b88 (patch)
treed776f9e89c633ff918350d2b798a4f04523e5375 /pkg.h
parent43d9b5ab0f389a2b68cbd26ec57a7aeaba5c2c89 (diff)
downloadpkg-config-4722cb5782c1bae583e61b1876d1e58e5c720b88.tar.gz
2001-10-28 Havoc Pennington <hp@pobox.com>
Author: hp Date: 2001-10-28 23:59:20 GMT 2001-10-28 Havoc Pennington <hp@pobox.com> * pkg.c: track position of package in the path search order, and sort packages accordingly before assembling flags lists, reported by Jacob Berkman * parse.c (get_compat_package): set path position to maxint, always at end of path
Diffstat (limited to 'pkg.h')
-rw-r--r--pkg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg.h b/pkg.h
index cf19a60..1fb9534 100644
--- a/pkg.h
+++ b/pkg.h
@@ -51,6 +51,7 @@ struct _Package
GHashTable *required_versions; /* hash from name to RequiredVersion */
GSList *conflicts; /* list of RequiredVersion */
gboolean uninstalled; /* used the -uninstalled file */
+ int path_position; /* used to order packages by position in path of their .pc file, lower number means earlier in path */
};
Package *get_package (const char *name);