commit: ecb55af0b6e0cba65df5b6b0595c3e81b488d8a7
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 1 18:23:34 2015 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Sun Mar 1 18:23:34 2015 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=ecb55af0
another disable-ion fix
---
.../files/firefox-36.0-depollute-CONST-from-dtoa.patch | 18 ++++++++++++++++++
www-client/firefox/firefox-36.0.ebuild | 1 +
2 files changed, 19 insertions(+)
diff --git
a/www-client/firefox/files/firefox-36.0-depollute-CONST-from-dtoa.patch
b/www-client/firefox/files/firefox-36.0-depollute-CONST-from-dtoa.patch
new file mode 100644
index 0000000..137bbfd
--- /dev/null
+++ b/www-client/firefox/files/firefox-36.0-depollute-CONST-from-dtoa.patch
@@ -0,0 +1,18 @@
+--- a/mozilla-release/js/src/dtoa.c 2015-03-01 12:51:12.950912536 -0500
++++ b/mozilla-release/js/src/dtoa.c 2015-03-01 12:57:49.670919777 -0500
+@@ -245,6 +245,7 @@
+ #endif
+
+ #ifndef CONST
++#define DTOA_UNSETCONSTDEF
+ #ifdef KR_headers
+ #define CONST /* blank */
+ #else
+@@ -3246,3 +3247,7 @@
+ *rve = s;
+ return s0;
+ }
++
++#ifdef DTOA_UNSETCONSTDEF
++#undef CONST
++#endif
diff --git a/www-client/firefox/firefox-36.0.ebuild
b/www-client/firefox/firefox-36.0.ebuild
index 56569e5..a3cc92f 100644
--- a/www-client/firefox/firefox-36.0.ebuild
+++ b/www-client/firefox/firefox-36.0.ebuild
@@ -148,6 +148,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-35.0-gmp-clearkey-sprintf.patch
epatch "${FILESDIR}"/${PN}-36.0-disable-ion.patch
+ epatch "${FILESDIR}"/${PN}-36.0-depollute-CONST-from-dtoa.patch
# Allow user to apply any additional patches without modifing ebuild
epatch_user