diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-31 08:10:01 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-31 08:10:01 +0000 |
commit | 21729f0ce49ce368aa40eafe42faf0df4fa89311 (patch) | |
tree | 2fd7e814f7b69112644b29e8c5ed7d16e56e0435 | |
parent | 9a98b6b066597c8c90488e1cd0fb91be1baeb636 (diff) |
* Forgot the int->enum header checkin
* Removed the dep-sorting TODO item - switch the sorting to a topological sort
later (I'll let Dan do the CS stuff, heh)
-rw-r--r-- | TODO.aaron | 6 | ||||
-rw-r--r-- | lib/libalpm/deps.h | 2 |
2 files changed, 1 insertions, 7 deletions
@@ -43,12 +43,6 @@ **** BUGS **** * Removal of conflicts on -A and -U (INCOMPLETE) -* ordering of packages to be installed based on dependencies - i.e. pkga depends=(pkgb pkgc), pkgb depends=(pkgc) - pacman -S pkga pkgb pkgc - > a depends on b and c, move them: pkgb pkgc pkga - > b depends on c, move it: pkgc pkgb pkga - > pacman -S pkgc pkgb pkga * gensync: get all info from packages instead of PKGBUILDs for now, we only need to check the PKGBUILD in case of a 'force' option diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h index f69e1d5f..f0771f68 100644 --- a/lib/libalpm/deps.h +++ b/lib/libalpm/deps.h @@ -46,7 +46,7 @@ pmdepmissing_t *_alpm_depmiss_new(const char *target, pmdeptype_t type, pmdepmod_t depmod, const char *depname, const char *depversion); int _alpm_depmiss_isin(pmdepmissing_t *needle, alpm_list_t *haystack); -alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, int mode); +alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode); alpm_list_t *_alpm_checkdeps(pmtrans_t *trans, pmdb_t *db, pmtranstype_t op, alpm_list_t *packages); int _alpm_splitdep(char *depstr, pmdepend_t *depend); |