From 12d4c38b30737dbca138644268c50f32c61fcaa9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 21 Jan 2013 01:57:10 +0100 Subject: [PATCH] hedaerlist: fix requirelist for files provided by multiple package with same name --- src/headerlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headerlist.c b/src/headerlist.c index e61b994..487098b 100644 --- a/src/headerlist.c +++ b/src/headerlist.c @@ -1042,7 +1042,7 @@ addToHeaderList(struct configTag *ct, } else { /* check if the package is already providing it... */ for (k = 0; k < newheaderlist->file[j]->numproviders; k++) { - if (!strcmp(newheaderlist->file[j]->provider[k]->name,newheaderlist->name)) + if (newheaderlist->file[j]->provider[k] == newheaderlist) break; }