From f560bfdb67c3580d317f9677df3e8ae3b354d7ec Mon Sep 17 00:00:00 2001 From: knu Date: Tue, 22 Apr 2003 08:59:21 +0000 Subject: Add a patch to fix "undefined local variable" error. Reported by: many ;( --- sysutils/portupgrade-devel/Makefile | 1 + sysutils/portupgrade-devel/files/patch-pkgtools.rb | 13 +++++++++++++ sysutils/portupgrade/Makefile | 1 + sysutils/portupgrade/files/patch-pkgtools.rb | 13 +++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 sysutils/portupgrade-devel/files/patch-pkgtools.rb create mode 100644 sysutils/portupgrade/files/patch-pkgtools.rb (limited to 'sysutils') diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile index 984dce23de09..b24066881b77 100644 --- a/sysutils/portupgrade-devel/Makefile +++ b/sysutils/portupgrade-devel/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-devel/files/patch-pkgtools.rb b/sysutils/portupgrade-devel/files/patch-pkgtools.rb new file mode 100644 index 000000000000..6d3d53d37083 --- /dev/null +++ b/sysutils/portupgrade-devel/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 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 -- cgit