Add a patch to fix "undefined local variable" error.

Reported by:	many ;(
This commit is contained in:
Akinori MUSHA 2003-04-22 08:59:21 +00:00
parent 1fd332f196
commit a211d19959
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79452
8 changed files with 56 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20030422
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}

View file

@ -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

View file

@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20030422
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}

View file

@ -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

View file

@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20030422
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}

View file

@ -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

View file

@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20030422
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}

View file

@ -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