aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portupgrade-devel
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2007-02-28 02:07:40 +0800
committersem <sem@FreeBSD.org>2007-02-28 02:07:40 +0800
commitef09e708cbfb4c70a4368b6cefcd7dcece1cf212 (patch)
treecbdaf5372ae274dd285225f70c528cbe784ac0e7 /ports-mgmt/portupgrade-devel
parent082ee7b9c33b7cd2e9f0753d41dbe2038ac627bc (diff)
downloadfreebsd-ports-gnome-ef09e708cbfb4c70a4368b6cefcd7dcece1cf212.tar.gz
freebsd-ports-gnome-ef09e708cbfb4c70a4368b6cefcd7dcece1cf212.tar.zst
freebsd-ports-gnome-ef09e708cbfb4c70a4368b6cefcd7dcece1cf212.zip
- Patch: make an explicit type cast to be on a safe side.
Diffstat (limited to 'ports-mgmt/portupgrade-devel')
-rw-r--r--ports-mgmt/portupgrade-devel/Makefile1
-rw-r--r--ports-mgmt/portupgrade-devel/files/patch-bin-pkgdb17
2 files changed, 18 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile
index 3e8c4ba0cb3f..33e8b30d347f 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/portupgrade-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade-devel
PORTVERSION= 2.2.6
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= portupgrade
diff --git a/ports-mgmt/portupgrade-devel/files/patch-bin-pkgdb b/ports-mgmt/portupgrade-devel/files/patch-bin-pkgdb
new file mode 100644
index 000000000000..f6c5462e06b3
--- /dev/null
+++ b/ports-mgmt/portupgrade-devel/files/patch-bin-pkgdb
@@ -0,0 +1,17 @@
+Index: bin/pkgdb
+===================================================================
+RCS file: /cvsroot/portupgrade/pkgtools/bin/pkgdb,v
+retrieving revision 1.9.2.6
+retrieving revision 1.9.2.7
+diff -u -r1.9.2.6 -r1.9.2.7
+--- pkgdb 27 Feb 2007 11:30:31 -0000 1.9.2.6
++++ pkgdb 27 Feb 2007 17:58:46 -0000 1.9.2.7
+@@ -700,7 +700,7 @@
+ hash = config_value(:ALT_PKGDEP) or return nil
+
+ if dep == ''
+- dep = $pkgdb.deorigin(origin)
++ dep = $pkgdb.deorigin(origin).to_s
+ end
+
+ hash.each do |pat, alt|