1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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