summaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade-devel
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-02-18 02:39:11 +0000
committerknu <knu@FreeBSD.org>2003-02-18 02:39:11 +0000
commitb075e2a4779d22b18ae572057cc0cb5015e6608f (patch)
tree42ec06807ace5b1b225bd263ba4a2d5e33ab41f6 /sysutils/portupgrade-devel
parent38cd184574363561c6f480370e3fac90365fcfee (diff)
downloadFreeBSD-ports-b075e2a4779d22b18ae572057cc0cb5015e6608f.zip
FreeBSD-ports-b075e2a4779d22b18ae572057cc0cb5015e6608f.tar.gz
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 48ae675..3e6f172 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 0000000..4c39db7
--- /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
OpenPOWER on IntegriCloud