diff options
-rw-r--r-- | ports-mgmt/bpm/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/bpm/files/patch-src::refresh.c | 22 | ||||
-rw-r--r-- | sysutils/bpm/Makefile | 2 | ||||
-rw-r--r-- | sysutils/bpm/files/patch-src::refresh.c | 22 |
4 files changed, 40 insertions, 8 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) { diff --git a/sysutils/bpm/Makefile b/sysutils/bpm/Makefile index 49448c85e5f0..d921a099d240 100644 --- a/sysutils/bpm/Makefile +++ b/sysutils/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/sysutils/bpm/files/patch-src::refresh.c b/sysutils/bpm/files/patch-src::refresh.c index 03b9c059749b..be123be85578 100644 --- a/sysutils/bpm/files/patch-src::refresh.c +++ b/sysutils/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) { |