aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade-devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-02-18 10:39:11 +0800
committerknu <knu@FreeBSD.org>2003-02-18 10:39:11 +0800
commitb075e2a4779d22b18ae572057cc0cb5015e6608f (patch)
tree42ec06807ace5b1b225bd263ba4a2d5e33ab41f6 /sysutils/portupgrade-devel
parent38cd184574363561c6f480370e3fac90365fcfee (diff)
downloadfreebsd-ports-gnome-b075e2a4779d22b18ae572057cc0cb5015e6608f.tar.gz
freebsd-ports-gnome-b075e2a4779d22b18ae572057cc0cb5015e6608f.tar.zst
freebsd-ports-gnome-b075e2a4779d22b18ae572057cc0cb5015e6608f.zip
Add a patch to suppress NameError during fixing a bsdpan-* origin.
Reported by: "Daniel M. Zimmerman" <dmz@tffenterprises.com>
Diffstat (limited to 'sysutils/portupgrade-devel')
-rw-r--r--sysutils/portupgrade-devel/Makefile2
-rw-r--r--sysutils/portupgrade-devel/files/patch-pkgdb18
2 files changed, 19 insertions, 1 deletions
diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile
index 48ae675d72bd..3e6f1723a83d 100644
--- a/sysutils/portupgrade-devel/Makefile
+++ b/sysutils/portupgrade-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20030217
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}
diff --git a/sysutils/portupgrade-devel/files/patch-pkgdb b/sysutils/portupgrade-devel/files/patch-pkgdb
new file mode 100644
index 000000000000..4c39db724c09
--- /dev/null
+++ b/sysutils/portupgrade-devel/files/patch-pkgdb
@@ -0,0 +1,18 @@
+Index: bin/pkgdb
+===================================================================
+RCS file: /home/cvs/pkgtools/bin/pkgdb,v
+retrieving revision 1.64
+retrieving revision 1.65
+diff -u -1 -r1.64 -r1.65
+--- bin/pkgdb 16 Feb 2003 15:11:32 -0000 1.64
++++ bin/pkgdb 18 Feb 2003 02:33:59 -0000 1.65
+@@ -29,3 +29,3 @@
+
+-RCS_ID = %q$Idaemons: /home/cvs/pkgtools/bin/pkgdb,v 1.64 2003/02/16 15:11:32 knu Exp $
++RCS_ID = %q$Idaemons: /home/cvs/pkgtools/bin/pkgdb,v 1.65 2003/02/18 02:33:59 knu Exp $
+ RCS_REVISION = RCS_ID.split[2]
+@@ -392,3 +392,3 @@
+ if !origin && /^bsdpan-(.*)/ =~ pkg.name and
+- ports = $portsdb.glob("p5-#{$1}")
++ ports = $portsdb.glob("p5-#{$1}") and !ports.empty?
+ special_guess = ports.first.origin