reports: put only packages in current repository in needport list
This commit is contained in:
parent
babfe854ea
commit
1176487045
@ -1364,7 +1364,8 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
warning[0] = '\0';
|
warning[0] = '\0';
|
||||||
for (i = 0; i < ARCHS_MAX && configtag->arch[i]; i++) {
|
for (i = 0; i < ARCHS_MAX && configtag->arch[i]; i++) {
|
||||||
if (hasbuilds[i] == -1) {
|
if ((hasbuilds[i] == -1) &&
|
||||||
|
(currheadersourcelist->altrepository == configtag->repository_level)) {
|
||||||
if (warning[0] == '\0')
|
if (warning[0] == '\0')
|
||||||
strncat(warning, "requires port to arch(s):", PATH_MAX);
|
strncat(warning, "requires port to arch(s):", PATH_MAX);
|
||||||
strncat(warning," ",PATH_MAX);
|
strncat(warning," ",PATH_MAX);
|
||||||
|
@ -2029,7 +2029,8 @@ print_datatables(struct configTag *ct, int arch) {
|
|||||||
while (currheadersourcelist != NULL) {
|
while (currheadersourcelist != NULL) {
|
||||||
if (!currheadersourcelist->firstchild[arch] &&
|
if (!currheadersourcelist->firstchild[arch] &&
|
||||||
currheadersourcelist->old &&
|
currheadersourcelist->old &&
|
||||||
currheadersourcelist->old->firstchild[arch]) {
|
currheadersourcelist->old->firstchild[arch] &&
|
||||||
|
(currheadersourcelist->altrepository == ct->repository_level)) {
|
||||||
fprintf(fbsh,"%s ",currheadersourcelist->name);
|
fprintf(fbsh,"%s ",currheadersourcelist->name);
|
||||||
}
|
}
|
||||||
currheadersourcelist = currheadersourcelist->next;
|
currheadersourcelist = currheadersourcelist->next;
|
||||||
|
Loading…
Reference in New Issue
Block a user