aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-04-22 16:59:21 +0800
committerknu <knu@FreeBSD.org>2003-04-22 16:59:21 +0800
commitf560bfdb67c3580d317f9677df3e8ae3b354d7ec (patch)
tree33ecd6416843611ca927c51829c649692397cdbd /sysutils
parent030e5b7b02cd0d237c28b45ab8c2986c5c086df4 (diff)
downloadfreebsd-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')
-rw-r--r--sysutils/portupgrade-devel/Makefile1
-rw-r--r--sysutils/portupgrade-devel/files/patch-pkgtools.rb13
-rw-r--r--sysutils/portupgrade/Makefile1
-rw-r--r--sysutils/portupgrade/files/patch-pkgtools.rb13
4 files changed, 28 insertions, 0 deletions
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