diff options
author | Cy Schubert <cy@FreeBSD.org> | 2008-03-06 00:32:25 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2008-03-06 00:32:25 +0000 |
commit | 3537880f085d99c2572eb08b845356502253ee52 (patch) | |
tree | be422cc0d36f5b07bfc7e4af99a294ba42282129 /ports-mgmt | |
parent | 86bfc2976c85871eb4c5082435cf150322b526f7 (diff) | |
download | ports-3537880f085d99c2572eb08b845356502253ee52.tar.gz ports-3537880f085d99c2572eb08b845356502253ee52.zip |
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/bpm/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/bpm/files/patch-src::refresh.c | 18 |
2 files changed, 12 insertions, 8 deletions
diff --git a/ports-mgmt/bpm/Makefile b/ports-mgmt/bpm/Makefile index 74b86dd39212..241fded8f21e 100644 --- a/ports-mgmt/bpm/Makefile +++ b/ports-mgmt/bpm/Makefile @@ -7,7 +7,7 @@ PORTNAME= bpm PORTVERSION= 0.4.1b -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= ports-mgmt 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 619e8f024972..09bebde62c6f 100644 --- a/ports-mgmt/bpm/files/patch-src::refresh.c +++ b/ports-mgmt/bpm/files/patch-src::refresh.c @@ -1,10 +1,14 @@ ---- src/refresh.c.orig Mon Aug 23 19:40:08 2004 -+++ src/refresh.c Thu Nov 24 15:11:48 2005 -@@ -62,8 +62,14 @@ +--- src/refresh.c.orig 2004-08-23 19:40:08.000000000 -0700 ++++ src/refresh.c 2008-03-05 14:30:58.000000000 -0800 +@@ -62,8 +62,18 @@ __RCSID("$Id: refresh.c,v 1.32 2004/08/24 02:40:08 sethk Exp $"); /* XXX use libinstall/lib.h */ -+#if __FreeBSD_version >= 600000 ++#if __FreeBSD_version >= 800000 ++#define INDEX_FN PORTS_BASE "/INDEX-8" ++#elif __FreeBSD_version >= 700000 ++#define INDEX_FN PORTS_BASE "/INDEX-7" ++#elif __FreeBSD_version >= 600000 +#define INDEX_FN PORTS_BASE "/INDEX-6" +#elif __FreeBSD_version >= 500036 +#define INDEX_FN PORTS_BASE "/INDEX-5" @@ -16,7 +20,7 @@ #define DB_DIR "/var/db/pkg" #define ITER_BYTES (128 * 1024) #define ITER_ENTS 32 -@@ -183,10 +189,12 @@ +@@ -183,10 +193,12 @@ if (*sp == '|') ++i; @@ -31,7 +35,7 @@ #endif /* DEBUG */ return FALSE; } -@@ -195,12 +203,9 @@ +@@ -195,12 +207,9 @@ for (i = 0; i < PFIELD_NFIELD; ++i) { @@ -47,7 +51,7 @@ switch (i) { -@@ -320,7 +325,6 @@ +@@ -320,7 +329,6 @@ if (_refresh_index_parse(ln, portdp, rdp) != TRUE) { |