pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mew mail/mew: Prevent inserting an extra line in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92907586e7b7
branches:  trunk
changeset: 449167:92907586e7b7
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 21 13:48:09 2021 +0000

description:
mail/mew: Prevent inserting an extra line in header

Prevent inserting an extra line in header.  From discussion in mew-ja
mailing list and patch was provided from Tatsuya Kinoshita.

diffstat:

 mail/mew/Makefile                  |   3 ++-
 mail/mew/distinfo                  |   3 ++-
 mail/mew/patches/patch-mew-imap.el |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 6c46ca932fa6 -r 92907586e7b7 mail/mew/Makefile
--- a/mail/mew/Makefile Sun Mar 21 13:45:57 2021 +0000
+++ b/mail/mew/Makefile Sun Mar 21 13:48:09 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.100 2020/05/16 14:54:09 rillig Exp $
+# $NetBSD: Makefile,v 1.101 2021/03/21 13:48:09 taca Exp $
 
 DISTNAME=      mew-6.8
 PKGNAME=       ${EMACS_PKGNAME_PREFIX}${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    mail
 MASTER_SITES=  http://www.mew.org/Release/
 
diff -r 6c46ca932fa6 -r 92907586e7b7 mail/mew/distinfo
--- a/mail/mew/distinfo Sun Mar 21 13:45:57 2021 +0000
+++ b/mail/mew/distinfo Sun Mar 21 13:48:09 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.49 2018/06/07 18:55:30 ryoon Exp $
+$NetBSD: distinfo,v 1.50 2021/03/21 13:48:09 taca Exp $
 
 SHA1 (mew-6.8.tar.gz) = 579943ee8b5e7485ff6296b5df4fe38365ceed13
 RMD160 (mew-6.8.tar.gz) = 6a7cfa891f46d7313ca230f1125ab7200215497a
 SHA512 (mew-6.8.tar.gz) = e4713a4485fa31a95820100465728998b6d5b4822e2a522293754ab269fbfa625756417a55eccf400994a4cc6f6230b8142463ffe416917f321da5053abdb98c
 Size (mew-6.8.tar.gz) = 991876 bytes
 SHA1 (patch-aa) = 9f57a7fe902d1de13d92a647e7fa0f8d9e187b33
+SHA1 (patch-mew-imap.el) = d57026057a2d13b6794d500706cf98570a8555c2
diff -r 6c46ca932fa6 -r 92907586e7b7 mail/mew/patches/patch-mew-imap.el
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mew/patches/patch-mew-imap.el        Sun Mar 21 13:48:09 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-mew-imap.el,v 1.1 2021/03/21 13:48:09 taca Exp $
+
+* Prevent inserting an extra line in header.
+
+--- mew-imap.el.orig   2018-06-07 05:48:29.000000000 +0000
++++ mew-imap.el
+@@ -1449,7 +1449,7 @@
+                       (mew-imap-secure-p pnm))
+        (goto-char (point-min))
+        (when (and (null bytes)
+-                (looking-at "^\\*[^{]*{\\([0-9]+\\)}"))
++                (looking-at "^\\*[^{]*{\\([0-9]+\\)}.*\n"))
+        (setq bytes (string-to-number (mew-match-string 1)))
+        (mew-imap-set-bytes pnm bytes))
+        (when (looking-at "^\\* .*X-GM-THRID +\\([0-9]+\\)")



Home | Main Index | Thread Index | Old Index