aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2008-02-11 21:50:27 +0800
committersem <sem@FreeBSD.org>2008-02-11 21:50:27 +0800
commit008e8ed7cf8caf02a770e20586e3bf858d432e9c (patch)
treedb3542588bd611003a66293d098b4bbba1c036ad /ports-mgmt
parentbfda10a9a5097bfcbfb8dc7ad6cec82252212df3 (diff)
downloadfreebsd-ports-gnome-008e8ed7cf8caf02a770e20586e3bf858d432e9c.tar.gz
freebsd-ports-gnome-008e8ed7cf8caf02a770e20586e3bf858d432e9c.tar.zst
freebsd-ports-gnome-008e8ed7cf8caf02a770e20586e3bf858d432e9c.zip
- Fix a crash that caused sometimes when -R option specified.
Reported by: pav
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade/Makefile1
-rw-r--r--ports-mgmt/portupgrade/files/patch-bin-portupgrade13
2 files changed, 14 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index 64e4ba54c4a4..42a2e7f4d525 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.4.3
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= ports-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
diff --git a/ports-mgmt/portupgrade/files/patch-bin-portupgrade b/ports-mgmt/portupgrade/files/patch-bin-portupgrade
new file mode 100644
index 000000000000..edccb957d2a8
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-bin-portupgrade
@@ -0,0 +1,13 @@
+--- bin/portupgrade.orig 2008-02-11 13:37:36.000000000 +0300
++++ bin/portupgrade 2008-02-11 16:07:28.000000000 +0300
+@@ -656,8 +656,10 @@
+ if $upward_recursive
+ STDERR.print '[Exclude up-to-date packages '
+ not_need_upgrade = []
++ not_need_upgrade << ''
+ depends.each do |task|
+ STDERR.print '.'
++ next if task == ''
+ pkg = PkgInfo.new(task)
+ origin = $pkgdb.origin(task)
+ if !origin.nil?