aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/bpm
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2004-08-24 19:21:12 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2004-08-24 19:21:12 +0000
commit36223833b77f995b6650733049734c545e38acf0 (patch)
tree7cd975d951cb8e211b8532764478788444c28fe0 /ports-mgmt/bpm
parentc9d52b0bb9ca474d32cc893b59e2b68c4c1de3d1 (diff)
downloadports-36223833b77f995b6650733049734c545e38acf0.tar.gz
ports-36223833b77f995b6650733049734c545e38acf0.zip
Notes
Diffstat (limited to 'ports-mgmt/bpm')
-rw-r--r--ports-mgmt/bpm/files/patch-src::refresh.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports-mgmt/bpm/files/patch-src::refresh.c b/ports-mgmt/bpm/files/patch-src::refresh.c
new file mode 100644
index 000000000000..b96fa00ecd8d
--- /dev/null
+++ b/ports-mgmt/bpm/files/patch-src::refresh.c
@@ -0,0 +1,14 @@
+--- src/refresh.c.orig Tue Aug 24 15:18:57 2004
++++ src/refresh.c Tue Aug 24 15:20:12 2004
+@@ -62,7 +62,11 @@
+ __RCSID("$Id: refresh.c,v 1.32 2004/08/24 02:40:08 sethk Exp $");
+
+ /* XXX use libinstall/lib.h */
++#if __FreeBSD_version >= 500036
++#define INDEX_FN PORTS_BASE "/INDEX-5"
++#else
+ #define INDEX_FN PORTS_BASE "/INDEX"
++#endif
+ #define INDEX_MAXLN 4096
+ #define DB_DIR "/var/db/pkg"
+ #define ITER_BYTES (128 * 1024)