aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2004-10-12 20:12:51 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2004-10-12 20:12:51 +0000
commit2e3bce44a03ac698799d3aa770362c464b9090e9 (patch)
tree29fee83e23785e1173ca9c3ae2b91af6286f7bf5 /ports-mgmt
parentb2cc5e06c2b49a48df4bf045a33ecc4b460b962e (diff)
downloadports-2e3bce44a03ac698799d3aa770362c464b9090e9.tar.gz
ports-2e3bce44a03ac698799d3aa770362c464b9090e9.zip
Notes
Diffstat (limited to 'ports-mgmt')
-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 49448c85e5f0..d921a099d240 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 03b9c059749b..be123be85578 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)
{