commit:     aca7bd0aeeb579d11334b9360fc791ad9f26275a
Author:     Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
AuthorDate: Mon Apr  1 19:40:08 2024 +0000
Commit:     Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
CommitDate: Mon Apr  1 20:57:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aca7bd0a

net-mail/dovecot-fts-xapian: Patch Base64 debug verbosity

Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift.com>

 net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.7.10.ebuild   |  1 +
 net-mail/dovecot-fts-xapian/files/20240401_verbosity-fix.patch | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.7.10.ebuild 
b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.7.10.ebuild
index 5287bc2d25..c3dcbbef8e 100644
--- a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.7.10.ebuild
+++ b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.7.10.ebuild
@@ -26,6 +26,7 @@ BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
        "${FILESDIR}/bug-887887_allow-O2-override.patch"
+       "${FILESDIR}/20240401_verbosity-fix.patch"
 )
 
 src_prepare() {

diff --git a/net-mail/dovecot-fts-xapian/files/20240401_verbosity-fix.patch 
b/net-mail/dovecot-fts-xapian/files/20240401_verbosity-fix.patch
new file mode 100644
index 0000000000..7f62757db8
--- /dev/null
+++ b/net-mail/dovecot-fts-xapian/files/20240401_verbosity-fix.patch
@@ -0,0 +1,10 @@
+--- a/src/fts-backend-xapian-functions.cpp
++++ b/src/fts-backend-xapian-functions.cpp
+@@ -383,7 +383,6 @@ class XNGram
+               {
+                       ok=std::regex_match(s, base64Regex);
+               }
+-              if(ok) syslog(LOG_INFO,"Testing Base64 (%s) -> 
%ld",s.c_str(),(long)ok);
+               return ok;
+       }
+ 

Reply via email to