aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot-fts-xapian
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-11-03 04:15:08 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-11-03 04:15:08 +0000
commit2e7103fec880c9fcd788042b2ce1d14b111e83f1 (patch)
treefe58fad3809847cfdb635e85b054825bb67d9aa2 /mail/dovecot-fts-xapian
parent97747197d2335d5e7b7243845e26fbee2746bedf (diff)
downloadports-2e7103fec880c9fcd788042b2ce1d14b111e83f1.tar.gz
ports-2e7103fec880c9fcd788042b2ce1d14b111e83f1.zip
Notes
Diffstat (limited to 'mail/dovecot-fts-xapian')
-rw-r--r--mail/dovecot-fts-xapian/Makefile3
-rw-r--r--mail/dovecot-fts-xapian/distinfo6
-rw-r--r--mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp13
3 files changed, 17 insertions, 5 deletions
diff --git a/mail/dovecot-fts-xapian/Makefile b/mail/dovecot-fts-xapian/Makefile
index d4918f98adba..5c3f6329afb5 100644
--- a/mail/dovecot-fts-xapian/Makefile
+++ b/mail/dovecot-fts-xapian/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= fts-xapian
-PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTVERSION= 1.4.2
CATEGORIES= mail
PKGNAMEPREFIX= dovecot-
diff --git a/mail/dovecot-fts-xapian/distinfo b/mail/dovecot-fts-xapian/distinfo
index 50be73d64e2c..6e0eef78764c 100644
--- a/mail/dovecot-fts-xapian/distinfo
+++ b/mail/dovecot-fts-xapian/distinfo
@@ -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
diff --git a/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp b/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp
new file mode 100644
index 000000000000..9e0a1eba892a
--- /dev/null
+++ b/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp
@@ -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