mail/dovecot-fts-xapian: Update to 1.4.2
Changelog: - Fixed concurrent access - Crash while indexing - terminate called after throwing an instance of 'std::bad_alloc' PR: 250803 Submitted by: Juraj Lutter <juraj@lutter.sk> (maintainer) MFH: 2020Q4
This commit is contained in:
parent
97747197d2
commit
2e7103fec8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553951
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= fts-xapian
|
||||
PORTVERSION= 1.4.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.4.2
|
||||
CATEGORIES= mail
|
||||
PKGNAMEPREFIX= dovecot-
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1603446932
|
||||
SHA256 (grosjo-fts-xapian-1.4.1_GH0.tar.gz) = 219ce1a0cb261745ec005156a6b9e3cdd47319750736eab727132b1c222cd7c2
|
||||
SIZE (grosjo-fts-xapian-1.4.1_GH0.tar.gz) = 27633
|
||||
TIMESTAMP = 1604301654
|
||||
SHA256 (grosjo-fts-xapian-1.4.2_GH0.tar.gz) = 11ff20bd91d81754bbe4f9ad52cf1fd74be8c3bb8633a7023a35cf4cc3c18c58
|
||||
SIZE (grosjo-fts-xapian-1.4.2_GH0.tar.gz) = 27812
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- src/fts-backend-xapian.cpp.orig 2020-11-02 07:45:52 UTC
|
||||
+++ src/fts-backend-xapian.cpp
|
||||
@@ -11,8 +11,8 @@ extern "C" {
|
||||
|
||||
#define XAPIAN_FILE_PREFIX "xapian-indexes"
|
||||
#define XAPIAN_TERM_SIZELIMIT 245
|
||||
-#define XAPIAN_COMMIT_ENTRIES 1000000
|
||||
-#define XAPIAN_COMMIT_TIMEOUT 300
|
||||
+#define XAPIAN_COMMIT_ENTRIES 1000000L
|
||||
+#define XAPIAN_COMMIT_TIMEOUT 300L
|
||||
#define XAPIAN_COMMIT_MEMORY 10240
|
||||
#define XAPIAN_WILDCARD "wldcrd"
|
||||
#define XAPIAN_EXPUNGE_SIZE 3
|
Loading…
Reference in New Issue
Block a user