1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-04-18 23:43:33 +02:00

Added sylpheed 3.8 beta with additional debian patches

This commit is contained in:
2023-07-06 16:48:42 +02:00
parent 6b5606cadb
commit ba25d8f5ba
8 changed files with 264 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
From: Darren Salt <linux@youmustbejoking.demon.co.uk>
Reviewed-by: Francesco Poli <frx@firenze.linux.it>
Date: Sun, 28 Jan 2018 18:20:19 +0900
Subject: escape '^From ' lines for not breaking GPG MIME signatures
Bug-Debian: http://bugs.debian.org/485855
---
libsylph/quoted-printable.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/libsylph/quoted-printable.c b/libsylph/quoted-printable.c
index adcdb05..adee4bc 100644
--- a/libsylph/quoted-printable.c
+++ b/libsylph/quoted-printable.c
@@ -52,6 +52,13 @@ void qp_encode_line(gchar *out, const guchar *in)
if (*inp == '\r')
inp++;
inp++;
+ if (strncmp(inp, "From ", 5) == 0) {
+ *outp++ = '=';
+ *outp++ = '4';
+ *outp++ = '6';
+ len += 3;
+ inp++;
+ }
} else if (ch == '\t' || ch == ' ') {
if (IS_LBREAK(inp + 1)) {
SOFT_LBREAK_IF_REQUIRED(3);