diff options
author | vs <vs@FreeBSD.org> | 2005-03-16 21:20:55 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-03-16 21:20:55 +0800 |
commit | 6b11a1e44d5aba79eddaea34f978c43319d66c34 (patch) | |
tree | a09acc77ff6fb7c9e563bd4f7a93754913d1ca70 /ports-mgmt/bpm | |
parent | 1a5bfcea1a888927cc2345ebb57e9362de3db748 (diff) | |
download | freebsd-ports-gnome-6b11a1e44d5aba79eddaea34f978c43319d66c34.tar.gz freebsd-ports-gnome-6b11a1e44d5aba79eddaea34f978c43319d66c34.tar.zst freebsd-ports-gnome-6b11a1e44d5aba79eddaea34f978c43319d66c34.zip |
Add patch to work on systems newer than 500036
PR: ports/74916
Submitted by: Joel Diaz
Approved by: maintainer
Diffstat (limited to 'ports-mgmt/bpm')
-rw-r--r-- | ports-mgmt/bpm/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/bpm/files/patch-src::refresh.c | 16 |
2 files changed, 10 insertions, 8 deletions
diff --git a/ports-mgmt/bpm/Makefile b/ports-mgmt/bpm/Makefile index 35587d09327d..e707cd7b4bac 100644 --- a/ports-mgmt/bpm/Makefile +++ b/ports-mgmt/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/ports-mgmt/bpm/files/patch-src::refresh.c b/ports-mgmt/bpm/files/patch-src::refresh.c index be123be85578..d5a05c3de215 100644 --- a/ports-mgmt/bpm/files/patch-src::refresh.c +++ b/ports-mgmt/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) { |