aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade/files/patch-lib-portsdb.rb
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-07 01:04:28 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-07 01:04:28 +0000
commit69ec329aa4ef1c0fcdbfa3f21e0d1da2879c728c (patch)
treef503bbd32b47be96c8ee8e4a8efceeadea6ec01b /ports-mgmt/portupgrade/files/patch-lib-portsdb.rb
parenta8ad771dbec50cb7ab04c0ac0b1703a89b59d9fc (diff)
Notes
Diffstat (limited to 'ports-mgmt/portupgrade/files/patch-lib-portsdb.rb')
-rw-r--r--ports-mgmt/portupgrade/files/patch-lib-portsdb.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade/files/patch-lib-portsdb.rb b/ports-mgmt/portupgrade/files/patch-lib-portsdb.rb
new file mode 100644
index 000000000000..3d3278148e18
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-lib-portsdb.rb
@@ -0,0 +1,13 @@
+Index: lib/portsdb.rb
+===================================================================
+--- lib/portsdb.rb (revision 74)
++++ lib/portsdb.rb (revision 75)
+@@ -91,7 +91,7 @@
+ while true
+ if moved = @moved[me]
+ t << moved if t.empty? or t.last.seq < moved.seq
+- if me.nil? or me == moved.to
++ if me.nil? or t.map{|p| p.to}.include?(me)
+ break
+ else
+ me = moved.to