diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-03-16 13:20:55 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-03-16 13:20:55 +0000 |
commit | eb3f578f1042837737371ae37e3f72a36eceb246 (patch) | |
tree | 52315f3c70139757a32ef33b03751081903ab567 /sysutils | |
parent | c2798185856d4fbd7f4498b7d272a1d59b733ad8 (diff) | |
download | ports-eb3f578f1042837737371ae37e3f72a36eceb246.tar.gz ports-eb3f578f1042837737371ae37e3f72a36eceb246.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/bpm/Makefile | 2 | ||||
-rw-r--r-- | sysutils/bpm/files/patch-src::refresh.c | 16 |
2 files changed, 10 insertions, 8 deletions
diff --git a/sysutils/bpm/Makefile b/sysutils/bpm/Makefile index 35587d09327d..e707cd7b4bac 100644 --- a/sysutils/bpm/Makefile +++ b/sysutils/bpm/Makefile @@ -7,7 +7,7 @@ PORTNAME= bpm PORTVERSION= 0.4.1b -PORTREVISION= 4 +PORTREVISION= 5 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 be123be85578..d5a05c3de215 100644 --- a/sysutils/bpm/files/patch-src::refresh.c +++ b/sysutils/bpm/files/patch-src::refresh.c @@ -1,10 +1,12 @@ ---- 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 @@ +--- src/refresh.c.orig Mon Aug 23 22:40:08 2004 ++++ src/refresh.c Fri Dec 10 08:58:03 2004 +@@ -62,7 +62,13 @@ __RCSID("$Id: refresh.c,v 1.32 2004/08/24 02:40:08 sethk Exp $"); /* XXX use libinstall/lib.h */ -+#if __FreeBSD_version >= 500036 ++#if __FreeBSD_version >= 600000 ++#define INDEX_FN PORTS_BASE "/INDEX-6" ++#elif __FreeBSD_version >= 500036 +#define INDEX_FN PORTS_BASE "/INDEX-5" +#else #define INDEX_FN PORTS_BASE "/INDEX" @@ -12,7 +14,7 @@ #define INDEX_MAXLN 4096 #define DB_DIR "/var/db/pkg" #define ITER_BYTES (128 * 1024) -@@ -183,10 +187,12 @@ +@@ -183,10 +189,12 @@ if (*sp == '|') ++i; @@ -27,7 +29,7 @@ #endif /* DEBUG */ return FALSE; } -@@ -195,12 +201,9 @@ +@@ -195,12 +203,9 @@ for (i = 0; i < PFIELD_NFIELD; ++i) { @@ -43,7 +45,7 @@ switch (i) { -@@ -320,7 +323,6 @@ +@@ -320,7 +325,6 @@ if (_refresh_index_parse(ln, portdp, rdp) != TRUE) { |