From 290085ddf5cee5ebe06c91cc5db29a7e62dd2d5a Mon Sep 17 00:00:00 2001 From: "Jory A. Pratt" Date: Sun, 8 Jul 2018 17:03:03 -0500 Subject: [PATCH] www-client/firefox: Fix mozHunspell, bug #660726 Package-Manager: Portage-2.3.41, Repoman-2.3.9 --- .../files/firefox-61.0-mozHunspell.patch | 25 +++++++++++++++++++ www-client/firefox/firefox-61.0-r1.ebuild | 1 + 2 files changed, 26 insertions(+) create mode 100644 www-client/firefox/files/firefox-61.0-mozHunspell.patch 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 0000000000000..2002bd1da50dd --- /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: nvinson234@gmail.com +Date: Sun, 8 Jul 2018 16:52:04 -0500 +Subject: [PATCH] Add missing include of nsCOMPtr.h, bug #660726 + +Signed-off-by: nvinson234@gmail.com +--- + 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 bdcf985eb99e3..fc312e57d18ff 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