From d45e85013095e79b61e8cff38a71050a0c4083e4 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 16 Jun 2017 13:03:51 -0500 Subject: [PATCH] Revert "pkg: use pkgconf_pkg_t.realname instead of pkgconf_pkg_t.id for injecting the default provides entry" This reverts commit 0c22b4d8a1596e1d5b261041c36b474d05783373. --- libpkgconf/pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkgconf/pkg.c b/libpkgconf/pkg.c index f5d618c..7aebd61 100644 --- a/libpkgconf/pkg.c +++ b/libpkgconf/pkg.c @@ -373,7 +373,7 @@ pkgconf_pkg_new_from_file(pkgconf_client_t *client, const char *filename, FILE * return NULL; } - pkgconf_dependency_add(client, &pkg->provides, pkg->realname, pkg->version, PKGCONF_CMP_EQUAL); + pkgconf_dependency_add(client, &pkg->provides, pkg->id, pkg->version, PKGCONF_CMP_EQUAL); return pkgconf_pkg_ref(client, pkg); }