forked from pool/quilt
43578af36f
file editor. - We don't need procmail to build quilt. - patch-wrapper-rpm.diff: Add a decription and upstream reference. - mail-fix-patch-set-threading.patch: mail: Fix patch set threading (regression in version 0.64, savannah bug #50775.) OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/quilt?expand=0&rev=109
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From: Jean Delvare <jdelvare@suse.de>
|
|
Date: Fri, 14 Apr 2017 09:07:51 +0200
|
|
Subject: mail: Fix patch set threading
|
|
Git-commit: 360b85e1f6b6d1aff5ada942fcee816e1ad7a13c
|
|
Patch-mainline: yes
|
|
|
|
Let patches reference the introduction message so that the patch set
|
|
is properly threaded by MUA. This used to work but was broken by
|
|
accident.
|
|
|
|
This fixes bug #50775:
|
|
https://savannah.nongnu.org/bugs/index.php?50775
|
|
|
|
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
Fixes: 1d659bebaf3d ("quilt/mail: Remove procmail dependency")
|
|
Tested-by: Okash Khawaja <okash.khawaja@gmail.com>
|
|
Acked-by: Kent R. Spillner <kspillner@acm.org>
|
|
|
|
diff --git a/quilt/mail.in b/quilt/mail.in
|
|
index 046b502..80fabe8 100644
|
|
--- a/quilt/mail.in
|
|
+++ b/quilt/mail.in
|
|
@@ -95,7 +95,7 @@ extract_header_value()
|
|
|
|
# Long Header Fields may span multiple lines, in which case CRLF
|
|
# is followed by space or tab (RFC 2822)
|
|
- sed -n "/^${header}/,/^[^[:blank:]]/ { /^${header}/ { s/^${header}//p; n; }; /^[^[:blank:]]/q; /^$/q; p; }"
|
|
+ sed -ne "/^${header}/I,/^[^[:blank:]]/ { /^${header}/I { s/^${header}//I; p; n; }; /^[^[:blank:]]/q; /^$/q; p; }"
|
|
}
|
|
|
|
# See RFC 2822 Internet Message Format for how the In-Reply-To and
|