resolveFirstLevelDependencies: skip obsoleted packages

This commit is contained in:
Silvan Calarco 2011-08-13 14:38:46 +02:00
parent c5fe806773
commit 776d307662

View File

@ -333,6 +333,10 @@ resolveFirstLevelDependencies(struct configTag *ct, int archidx)
scanheader = ct->headerlist[archidx]; scanheader = ct->headerlist[archidx];
currrequire = NULL; currrequire = NULL;
currheader->requirelist = NULL; currheader->requirelist = NULL;
if (currheader->obsoleted) {
currheader = currheader->next;
continue;
}
// currheader->require.resolved = malloc(sizeof(struct providedList*)*currheader->requirecount); // currheader->require.resolved = malloc(sizeof(struct providedList*)*currheader->requirecount);
for (i = 0; i < currheader->requirecount; i++) { for (i = 0; i < currheader->requirecount; i++) {