mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
Add upstream patch to fix a filtering bug in KMail.
Despite what the patch's commit message says, this is actually a fix for https://bugs.kde.org/show_bug.cgi?id=340015, which is part of 4.14.3. It allows filtering based on the "List-Id" header to work again.
This commit is contained in:
parent
74487fa203
commit
bc992276b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372525
2 changed files with 28 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= kdepim
|
||||
PORTVERSION= ${KDE4_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= deskutils kde
|
||||
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
|
||||
DIST_SUBDIR= KDE/${PORTVERSION}
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
commit 01764b0eb3c7b7407f3119ef711d5b07d7b9a313
|
||||
Author: Jean-Baptiste Mardelle <jb@kdenlive.org>
|
||||
Date: Fri Oct 24 13:22:36 2014 +0200
|
||||
|
||||
Fix filtering of mailing-list based on "List-id".
|
||||
BUG:339090
|
||||
FIXED-IN: 4.14.3
|
||||
CCBUG:339090
|
||||
|
||||
--- mailcommon/search/searchpattern.cpp
|
||||
+++ mailcommon/search/searchpattern.cpp
|
||||
@@ -672,7 +672,6 @@ SearchRule::RequiredPart SearchRuleString::requiredPart() const
|
||||
kasciistricmp( f, "<status>" ) == 0 ||
|
||||
kasciistricmp( f, "<tag>" ) == 0 ||
|
||||
kasciistricmp( f, "Subject" ) == 0 ||
|
||||
- kasciistricmp( f, "list-id" ) == 0 ||
|
||||
kasciistricmp( f, "from" ) == 0 ||
|
||||
kasciistricmp( f, "<any header>" )== 0) {
|
||||
part = Envelope;
|
||||
@@ -683,6 +682,7 @@ SearchRule::RequiredPart SearchRuleString::requiredPart() const
|
||||
kasciistricmp( f, "cc" ) == 0 ||
|
||||
kasciistricmp( f, "bcc" ) == 0 ||
|
||||
kasciistricmp( f, "resent-from" ) == 0 ||
|
||||
+ kasciistricmp( f, "list-id" ) == 0 ||
|
||||
kasciistricmp( f, "x-loop" ) == 0 ||
|
||||
kasciistricmp( f, "x-mailing-list" ) == 0 ||
|
||||
kasciistricmp( f, "x-spam-flag" ) == 0 ||
|
Loading…
Add table
Reference in a new issue