Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
abi: only check abi and no more altabi for abi changes
Baptiste Daroussin committed 1 year ago
commit bebccb9b4dc86aa2cf96000b449372e2bb8f84f4
parent 1e0dc31c5e77f34976de05a1f42eaecab9851d15
1 file changed +2 -2
modified libpkg/pkg_jobs.c
@@ -1081,10 +1081,10 @@ pkg_jobs_need_upgrade(struct pkg *rp, struct pkg *lp)
		return (true);

	/* Compare archs */
-
	if (!STREQ(lp->altabi, rp->altabi)) {
+
	if (!STREQ(lp->abi, rp->abi)) {
		free(rp->reason);
		xasprintf(&rp->reason, "ABI changed: '%s' -> '%s'",
-
		    lp->altabi, rp->altabi);
+
		    lp->abi, rp->abi);
		assert(rp->reason != NULL);
		return (true);
	}