libxbps: API/ABI break changes to fix issues with virtual packages.

Please see the NEWS file for info about this commit.
This commit is contained in:
Juan RP
2011-07-15 18:22:58 +02:00
parent fddb472dd0
commit 33d6d2e166
11 changed files with 198 additions and 153 deletions

View File

@@ -203,15 +203,6 @@ add_binpkg_to_index(prop_dictionary_t idxdict,
goto out;
}
} else if (curpkgd) {
/*
* Ignore packages providing virtual packages greater than or
* equal than current package.
*/
if (xbps_find_virtual_pkg_in_dict(curpkgd, pkgname, false)) {
prop_object_release(newpkgd);
rv = EEXIST;
goto out;
}
prop_dictionary_get_cstring_nocopy(curpkgd, "version", &regver);
if (xbps_cmpver(version, regver) <= 0) {
xbps_warn_printf("skipping %s. %s-%s already "