summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.aaron6
-rw-r--r--lib/libalpm/deps.h2
2 files changed, 1 insertions, 7 deletions
diff --git a/TODO.aaron b/TODO.aaron
index ca7156f8..9b815a78 100644
--- a/TODO.aaron
+++ b/TODO.aaron
@@ -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);