www-client/firefox: Fix mozHunspell, bug #660726
authorJory A. Pratt <anarchy@gentoo.org>
Sun, 8 Jul 2018 22:03:03 +0000 (17:03 -0500)
committerJory A. Pratt <anarchy@gentoo.org>
Sun, 8 Jul 2018 22:03:41 +0000 (17:03 -0500)
Package-Manager: Portage-2.3.41, Repoman-2.3.9

www-client/firefox/files/firefox-61.0-mozHunspell.patch [new file with mode: 0644]
www-client/firefox/firefox-61.0-r1.ebuild

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 (file)
index 0000000..2002bd1
--- /dev/null
@@ -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
+
index bdcf985eb99e3078bec3ff75ffe2e5498aa4c445..fc312e57d18ffa8f02c65149cbbc65ee38805589 100644 (file)
@@ -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