aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-04-26 15:07:55 +0800
committerrafan <rafan@FreeBSD.org>2008-04-26 15:07:55 +0800
commit2b983b0801a23e44dc1d8a0a3c9e14d321f63e3f (patch)
treedd33b93145534042e13a3f9cf0c3d34cd843f186 /ports-mgmt
parenta343059a18f7f5f26e00e80c599cf0f12b2aa2d7 (diff)
downloadfreebsd-ports-gnome-2b983b0801a23e44dc1d8a0a3c9e14d321f63e3f.tar.gz
freebsd-ports-gnome-2b983b0801a23e44dc1d8a0a3c9e14d321f63e3f.tar.zst
freebsd-ports-gnome-2b983b0801a23e44dc1d8a0a3c9e14d321f63e3f.zip
- Increase read buffer to avoid SEGV when reading INDEX
- Bump PORTREVISION PR: ports/122799 Submitted by: Conrad J. Sabatier <conrads at cox.net> Approved by: Seth Kingsley <sethk at meowfishies.com> (maintainer)
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/bpm/Makefile2
-rw-r--r--ports-mgmt/bpm/files/patch-src::refresh.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports-mgmt/bpm/Makefile b/ports-mgmt/bpm/Makefile
index 0c3c9eccf6ca..25e6726eef76 100644
--- a/ports-mgmt/bpm/Makefile
+++ b/ports-mgmt/bpm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bpm
PORTVERSION= 0.4.1b
-PORTREVISION= 12
+PORTREVISION= 13
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 09bebde62c6f..9214865d503d 100644
--- a/ports-mgmt/bpm/files/patch-src::refresh.c
+++ b/ports-mgmt/bpm/files/patch-src::refresh.c
@@ -16,7 +16,7 @@
#define INDEX_FN PORTS_BASE "/INDEX"
-#define INDEX_MAXLN 4096
+#endif
-+#define INDEX_MAXLN 8192
++#define INDEX_MAXLN 16384
#define DB_DIR "/var/db/pkg"
#define ITER_BYTES (128 * 1024)
#define ITER_ENTS 32