commit:     290085ddf5cee5ebe06c91cc5db29a7e62dd2d5a
Author:     Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  8 22:03:03 2018 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Sun Jul  8 22:03:41 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=290085dd

www-client/firefox: Fix mozHunspell, bug #660726

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../firefox/files/firefox-61.0-mozHunspell.patch   | 25 ++++++++++++++++++++++
 www-client/firefox/firefox-61.0-r1.ebuild          |  1 +
 2 files changed, 26 insertions(+)

diff --git a/www-client/firefox/files/firefox-61.0-mozHunspell.patch 
b/www-client/firefox/files/firefox-61.0-mozHunspell.patch
new file mode 100644
index 00000000000..2002bd1da50
--- /dev/null
+++ b/www-client/firefox/files/firefox-61.0-mozHunspell.patch
@@ -0,0 +1,25 @@
+From 5bdc1dc7a4541338b13096ae52627ceecd0cca9e Mon Sep 17 00:00:00 2001
+From: [email protected]
+Date: Sun, 8 Jul 2018 16:52:04 -0500
+Subject: [PATCH] Add missing include of nsCOMPtr.h, bug #660726
+
+Signed-off-by: [email protected]
+---
+ extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h 
b/extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h
+index dc33fdfb3..415e00973 100644
+--- a/extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h
++++ b/extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h
+@@ -13,6 +13,7 @@
+ #include "mozilla/ResultExtensions.h"
+ #include "nsIInputStream.h"
+ #include "nsReadLine.h"
++#include "nsCOMPtr.h"
+ 
+ // Note: This class name and lack of namespacing terrible, but are necessary
+ // for Hunspell compatibility.
+-- 
+2.18.0
+

diff --git a/www-client/firefox/firefox-61.0-r1.ebuild 
b/www-client/firefox/firefox-61.0-r1.ebuild
index bdcf985eb99..fc312e57d18 100644
--- a/www-client/firefox/firefox-61.0-r1.ebuild
+++ b/www-client/firefox/firefox-61.0-r1.ebuild
@@ -125,6 +125,7 @@ src_prepare() {
        eapply "${WORKDIR}/firefox"
 
        eapply "${FILESDIR}/bug_1461221.patch"
+       eapply "${FILESDIR}/${PN}-61.0-mozHunspell.patch"
 
        # Enable gnomebreakpad
        if use debug ; then

Reply via email to