summaryrefslogtreecommitdiffstats
path: root/ports-mgmt/bpm
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2004-10-12 20:12:51 +0000
committeradamw <adamw@FreeBSD.org>2004-10-12 20:12:51 +0000
commite73c769729c2173d6ba185acfe528300c2256231 (patch)
treeb9de6a9d58ce6fff416682b9880f8b0c44bbe0c7 /ports-mgmt/bpm
parentf8a32518ef14272a28b97926c5394f8de07dd2f3 (diff)
downloadFreeBSD-ports-e73c769729c2173d6ba185acfe528300c2256231.zip
FreeBSD-ports-e73c769729c2173d6ba185acfe528300c2256231.tar.gz
Enable bpm to grok the new INDEX format with extra fields.
Submitted by: maintainer
Diffstat (limited to 'ports-mgmt/bpm')
-rw-r--r--ports-mgmt/bpm/Makefile2
-rw-r--r--ports-mgmt/bpm/files/patch-src::refresh.c22
2 files changed, 20 insertions, 4 deletions
diff --git a/ports-mgmt/bpm/Makefile b/ports-mgmt/bpm/Makefile
index 49448c8..d921a09 100644
--- a/ports-mgmt/bpm/Makefile
+++ b/ports-mgmt/bpm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bpm
PORTVERSION= 0.4.1b
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.meowfishies.com/code/bpm/
EXTRACT_SUFX= .tgz
diff --git a/ports-mgmt/bpm/files/patch-src::refresh.c b/ports-mgmt/bpm/files/patch-src::refresh.c
index 03b9c05..be123be 100644
--- a/ports-mgmt/bpm/files/patch-src::refresh.c
+++ b/ports-mgmt/bpm/files/patch-src::refresh.c
@@ -1,5 +1,5 @@
---- src/refresh.c.orig Tue Aug 24 15:18:57 2004
-+++ src/refresh.c Tue Aug 24 15:20:12 2004
+--- src/refresh.c.orig Tue Aug 24 02:40:08 2004
++++ src/refresh.c Tue Oct 12 12:31:32 2004
@@ -62,7 +62,11 @@
__RCSID("$Id: refresh.c,v 1.32 2004/08/24 02:40:08 sethk Exp $");
@@ -27,7 +27,23 @@
#endif /* DEBUG */
return FALSE;
}
-@@ -320,7 +326,6 @@
+@@ -195,12 +201,9 @@
+
+ for (i = 0; i < PFIELD_NFIELD; ++i)
+ {
+- if (i < PFIELD_NFIELD - 1)
+- {
+- if (!(sp = strchr(line, '|')))
+- break;
+- *sp++ = '\0';
+- }
++ if (!(sp = strchr(line, '|')) && i < PFIELD_NFIELD - 1)
++ break;
++ *sp++ = '\0';
+
+ switch (i)
+ {
+@@ -320,7 +323,6 @@
if (_refresh_index_parse(ln, portdp, rdp) != TRUE)
{
OpenPOWER on IntegriCloud