X-Git-Url: https://git.tld-linux.org/?p=packages%2Fspamassassin.git;a=blobdiff_plain;f=bug-869408-unescaped-brace-in-regex.patch;fp=bug-869408-unescaped-brace-in-regex.patch;h=0000000000000000000000000000000000000000;hp=7056dd95555c50622e9e8a2a034114177cc56ee9;hb=6df75f9a0363eb6cd04fb8482185460861d7fd47;hpb=31d299da7461e63fbed924ba5134550f1107eb7c diff --git a/bug-869408-unescaped-brace-in-regex.patch b/bug-869408-unescaped-brace-in-regex.patch deleted file mode 100644 index 7056dd9..0000000 --- a/bug-869408-unescaped-brace-in-regex.patch +++ /dev/null @@ -1,29 +0,0 @@ -Description: Unescaped left brace in regex leads to warnings with perl 5.26 -Origin: https://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm?r1=1708863&r2=1791010&diff_format=h -Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869408 - -Index: spamassassin-3.4.1/lib/Mail/SpamAssassin/PerMsgStatus.pm -=================================================================== ---- spamassassin-3.4.1.orig/lib/Mail/SpamAssassin/PerMsgStatus.pm -+++ spamassassin-3.4.1/lib/Mail/SpamAssassin/PerMsgStatus.pm -@@ -916,16 +916,16 @@ sub get_content_preview { - $str .= shift @{$ary}; - } - undef $ary; -- chomp ($str); $str .= " [...]\n"; - - # in case the last line was huge, trim it back to around 200 chars - local $1; -- $str =~ s/^(.{,200}).*$/$1/gs; -+ $str =~ s/^(.{200}).+$/$1 [...]/gm; -+ chomp ($str); $str .= "\n"; - - # now, some tidy-ups that make things look a bit prettier -- $str =~ s/-----Original Message-----.*$//gs; -+ $str =~ s/-----Original Message-----.*$//gm; - $str =~ s/This is a multi-part message in MIME format\.//gs; -- $str =~ s/[-_\*\.]{10,}//gs; -+ $str =~ s/[-_*.]{10,}//gs; - $str =~ s/\s+/ /gs; - - # add "Content preview:" ourselves, so that the text aligns