summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-05-26 14:54:06 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-05-26 14:54:31 +0200
commitdd248156c41449aa28145b16db3c8a9255ff47d7 (patch)
tree11a6a37d3aed90f894419d4af351631d715324fb /x11-plugins/enigmail
parentdev-python/nagiosplugin: support Python 3.6 and PyPy3, EAPI 7 (diff)
downloadgentoo-dd248156c41449aa28145b16db3c8a9255ff47d7.tar.gz
gentoo-dd248156c41449aa28145b16db3c8a9255ff47d7.tar.bz2
gentoo-dd248156c41449aa28145b16db3c8a9255ff47d7.zip
x11-plugins/enigmail: Use correct mdcError string
Closes: https://bugs.gentoo.org/656292 Package-Manager: Portage-2.3.40, Repoman-2.3.9 RepoMan-Options: --force
Diffstat (limited to 'x11-plugins/enigmail')
-rw-r--r--x11-plugins/enigmail/enigmail-2.0.5-r1.ebuild (renamed from x11-plugins/enigmail/enigmail-2.0.5.ebuild)1
-rw-r--r--x11-plugins/enigmail/files/enigmail-2.0.5-fix-missing-missingMdcError.patch30
2 files changed, 31 insertions, 0 deletions
diff --git a/x11-plugins/enigmail/enigmail-2.0.5.ebuild b/x11-plugins/enigmail/enigmail-2.0.5-r1.ebuild
index 8d6d09bb3f6a..373153088081 100644
--- a/x11-plugins/enigmail/enigmail-2.0.5.ebuild
+++ b/x11-plugins/enigmail/enigmail-2.0.5-r1.ebuild
@@ -23,6 +23,7 @@ else
SRC_URI="http://www.enigmail.net/download/source/${P}.tar.gz"
KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
fi
+ PATCHES=( "${FILESDIR}"/${P}-fix-missing-missingMdcError.patch )
S="${WORKDIR}/${PN}"
fi
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
new file mode 100644
index 000000000000..8b7a1fb54de5
--- /dev/null
+++ b/x11-plugins/enigmail/files/enigmail-2.0.5-fix-missing-missingMdcError.patch
@@ -0,0 +1,30 @@
+https://gitlab.com/enigmail/enigmail/commit/f196a31a9e56b8a0bd7b4ebe9af08f6e78d78e2d
+
+From 94fb482e3463e756d76f9309cdc2fb7560822eb0 Mon Sep 17 00:00:00 2001
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+Date: Mon, 21 May 2018 15:55:03 -0400
+Subject: [PATCH] Use correct mdcError string
+
+Without this change, the build process fails with:
+
+MISSING PROPERTY: missingMdcError
+---
+ package/errorHandling.jsm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/package/errorHandling.jsm b/package/errorHandling.jsm
+index 8173fa72..bc8bdcb3 100644
+--- a/package/errorHandling.jsm
++++ b/package/errorHandling.jsm
+@@ -309,7 +309,7 @@ function decryptionInfo(c) {
+ c.statusFlags |= EnigmailConstants.DECRYPTION_FAILED; // be sure to fail
+ c.flag = EnigmailConstants.MISSING_MDC;
+ EnigmailLog.DEBUG("errorHandling.jsm: missing MDC!\n");
+- c.retStatusObj.statusMsg += EnigmailLocale.getString("missingMdcError") + "\n";
++ c.retStatusObj.statusMsg += EnigmailLocale.getString("mdcError") + "\n";
+ }
+ }
+ }
+--
+2.16.3
+