svn commit: r416827 - in head/ports-mgmt/pkg: . files
Baptiste Daroussin
bapt at FreeBSD.org
Sun Jun 12 22:41:05 UTC 2016
Author: bapt
Date: Sun Jun 12 22:41:04 2016
New Revision: 416827
URL: https://svnweb.freebsd.org/changeset/ports/416827
Log:
Fix pkg upgrade -f
Added:
head/ports-mgmt/pkg/files/patch-upgrade_f (contents, props changed)
Modified:
head/ports-mgmt/pkg/Makefile
Modified: head/ports-mgmt/pkg/Makefile
==============================================================================
--- head/ports-mgmt/pkg/Makefile Sun Jun 12 21:56:01 2016 (r416826)
+++ head/ports-mgmt/pkg/Makefile Sun Jun 12 22:41:04 2016 (r416827)
@@ -2,6 +2,7 @@
PORTNAME= pkg
DISTVERSION= 1.8.5
+PORTREVISION= 1
_PKG_VERSION= ${DISTVERSION}
CATEGORIES= ports-mgmt
MASTER_SITES= \
Added: head/ports-mgmt/pkg/files/patch-upgrade_f
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/pkg/files/patch-upgrade_f Sun Jun 12 22:41:04 2016 (r416827)
@@ -0,0 +1,13 @@
+diff --git libpkg/pkg_jobs_universe.c libpkg/pkg_jobs_universe.c
+index 312591d..c1eb15b 100644
+--- libpkg/pkg_jobs_universe.c
++++ libpkg/pkg_jobs_universe.c
+@@ -1264,7 +1264,7 @@ pkg_jobs_universe_get_upgrade_candidates(struct pkg_jobs_universe *universe,
+ if (selected != lp) {
+ /* We need to add the whole chain of upgrade candidates */
+ for (int i = 0; i < kv_size(candidates); i++) {
+- pkg_jobs_universe_add_pkg(universe, kv_A(candidates, i), false, NULL);
++ pkg_jobs_universe_add_pkg(universe, kv_A(candidates, i), force, NULL);
+ }
+ }
+ else {
More information about the svn-ports-head
mailing list