diff options
author | Arch Librarian <arch@canonical.com> | 2005-07-14 13:04:45 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2005-07-14 13:04:45 +0000 |
commit | 4722cb5782c1bae583e61b1876d1e58e5c720b88 (patch) | |
tree | d776f9e89c633ff918350d2b798a4f04523e5375 /pkg.h | |
parent | 43d9b5ab0f389a2b68cbd26ec57a7aeaba5c2c89 (diff) | |
download | pkg-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |