Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/enigmail/files/, x11-plugins/enigmail/
Date: Sat, 26 May 2018 12:54:46
Message-Id: 1527339271.dd248156c41449aa28145b16db3c8a9255ff47d7.whissi@gentoo
1 commit: dd248156c41449aa28145b16db3c8a9255ff47d7
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 26 12:54:06 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat May 26 12:54:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd248156
7
8 x11-plugins/enigmail: Use correct mdcError string
9
10 Closes: https://bugs.gentoo.org/656292
11 Package-Manager: Portage-2.3.40, Repoman-2.3.9
12 RepoMan-Options: --force
13
14 ...gmail-2.0.5.ebuild => enigmail-2.0.5-r1.ebuild} | 1 +
15 ...nigmail-2.0.5-fix-missing-missingMdcError.patch | 30 ++++++++++++++++++++++
16 2 files changed, 31 insertions(+)
17
18 diff --git a/x11-plugins/enigmail/enigmail-2.0.5.ebuild b/x11-plugins/enigmail/enigmail-2.0.5-r1.ebuild
19 similarity index 97%
20 rename from x11-plugins/enigmail/enigmail-2.0.5.ebuild
21 rename to x11-plugins/enigmail/enigmail-2.0.5-r1.ebuild
22 index 8d6d09bb3f6..37315308808 100644
23 --- a/x11-plugins/enigmail/enigmail-2.0.5.ebuild
24 +++ b/x11-plugins/enigmail/enigmail-2.0.5-r1.ebuild
25 @@ -23,6 +23,7 @@ else
26 SRC_URI="http://www.enigmail.net/download/source/${P}.tar.gz"
27 KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
28 fi
29 + PATCHES=( "${FILESDIR}"/${P}-fix-missing-missingMdcError.patch )
30 S="${WORKDIR}/${PN}"
31 fi
32
33
34 diff --git a/x11-plugins/enigmail/files/enigmail-2.0.5-fix-missing-missingMdcError.patch b/x11-plugins/enigmail/files/enigmail-2.0.5-fix-missing-missingMdcError.patch
35 new file mode 100644
36 index 00000000000..8b7a1fb54de
37 --- /dev/null
38 +++ b/x11-plugins/enigmail/files/enigmail-2.0.5-fix-missing-missingMdcError.patch
39 @@ -0,0 +1,30 @@
40 +https://gitlab.com/enigmail/enigmail/commit/f196a31a9e56b8a0bd7b4ebe9af08f6e78d78e2d
41 +
42 +From 94fb482e3463e756d76f9309cdc2fb7560822eb0 Mon Sep 17 00:00:00 2001
43 +From: Daniel Kahn Gillmor <dkg@×××××××××××××.net>
44 +Date: Mon, 21 May 2018 15:55:03 -0400
45 +Subject: [PATCH] Use correct mdcError string
46 +
47 +Without this change, the build process fails with:
48 +
49 +MISSING PROPERTY: missingMdcError
50 +---
51 + package/errorHandling.jsm | 2 +-
52 + 1 file changed, 1 insertion(+), 1 deletion(-)
53 +
54 +diff --git a/package/errorHandling.jsm b/package/errorHandling.jsm
55 +index 8173fa72..bc8bdcb3 100644
56 +--- a/package/errorHandling.jsm
57 ++++ b/package/errorHandling.jsm
58 +@@ -309,7 +309,7 @@ function decryptionInfo(c) {
59 + c.statusFlags |= EnigmailConstants.DECRYPTION_FAILED; // be sure to fail
60 + c.flag = EnigmailConstants.MISSING_MDC;
61 + EnigmailLog.DEBUG("errorHandling.jsm: missing MDC!\n");
62 +- c.retStatusObj.statusMsg += EnigmailLocale.getString("missingMdcError") + "\n";
63 ++ c.retStatusObj.statusMsg += EnigmailLocale.getString("mdcError") + "\n";
64 + }
65 + }
66 + }
67 +--
68 +2.16.3
69 +