diff options
author | knu <knu@FreeBSD.org> | 2003-04-22 16:59:21 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-04-22 16:59:21 +0800 |
commit | f560bfdb67c3580d317f9677df3e8ae3b354d7ec (patch) | |
tree | 33ecd6416843611ca927c51829c649692397cdbd /sysutils/portupgrade | |
parent | 030e5b7b02cd0d237c28b45ab8c2986c5c086df4 (diff) | |
download | freebsd-ports-gnome-f560bfdb67c3580d317f9677df3e8ae3b354d7ec.tar.gz freebsd-ports-gnome-f560bfdb67c3580d317f9677df3e8ae3b354d7ec.tar.zst freebsd-ports-gnome-f560bfdb67c3580d317f9677df3e8ae3b354d7ec.zip |
Add a patch to fix "undefined local variable" error.
Reported by: many ;(
Diffstat (limited to 'sysutils/portupgrade')
-rw-r--r-- | sysutils/portupgrade/Makefile | 1 | ||||
-rw-r--r-- | sysutils/portupgrade/files/patch-pkgtools.rb | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile index 984dce23de09..b24066881b77 100644 --- a/sysutils/portupgrade/Makefile +++ b/sysutils/portupgrade/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20030422 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} diff --git a/sysutils/portupgrade/files/patch-pkgtools.rb b/sysutils/portupgrade/files/patch-pkgtools.rb new file mode 100644 index 000000000000..6d3d53d37083 --- /dev/null +++ b/sysutils/portupgrade/files/patch-pkgtools.rb @@ -0,0 +1,13 @@ +--- lib/pkgtools.rb.orig Tue Apr 22 14:35:20 2003 ++++ lib/pkgtools.rb Tue Apr 22 17:57:25 2003 +@@ -604,8 +604,9 @@ + neworigin ||= $pkgdb.origin(newdep) + end + ++ lines = [] ++ + File.open(file) do |f| +- lines = [] + pkgdeps = Set.new + + deporigin = nil # what to do with the next DEPORIGIN |