From 96778da60c38e72baaf47831d241507f556d9db6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 20 Apr 2014 18:17:23 +0200 Subject: [PATCH] libxbps: detect and fix pkgs that depend on itself. --- lib/repo_pkgdeps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/repo_pkgdeps.c b/lib/repo_pkgdeps.c index e983e0d5..96c9ff1f 100644 --- a/lib/repo_pkgdeps.c +++ b/lib/repo_pkgdeps.c @@ -348,6 +348,7 @@ find_repo_deps(struct xbps_handle *xhp, xbps_dbg_printf_append(xhp, "[ignoring wrong dependency " "%s (depends on itself)]\n", reqpkg); + xbps_remove_string_from_array(pkg_rdeps_array, reqpkg); free(pkgname); free(reqpkgname); continue;