summaryrefslogtreecommitdiff
path: root/libre/iceweasel/fix-i686-build-moz-1792159.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/iceweasel/fix-i686-build-moz-1792159.patch')
-rw-r--r--libre/iceweasel/fix-i686-build-moz-1792159.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/libre/iceweasel/fix-i686-build-moz-1792159.patch b/libre/iceweasel/fix-i686-build-moz-1792159.patch
new file mode 100644
index 000000000..592dcad93
--- /dev/null
+++ b/libre/iceweasel/fix-i686-build-moz-1792159.patch
@@ -0,0 +1,18 @@
+--- a/js/src/jit/shared/AtomicOperations-shared-jit.cpp
++++ b/js/src/jit/shared/AtomicOperations-shared-jit.cpp
+@@ -5,4 +5,9 @@
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
++// bug 1792159
++#if defined(__i386__) && defined(__GNUC__) && !defined(__clang__)
++# include "../../../mfbt/Attributes.h"
++#endif
++
+ #include "jit/AtomicOperations.h"
+
+--- a/config/check_spidermonkey_style.py
++++ b/config/check_spidermonkey_style.py
+@@ -68,2 +68,3 @@
+ "jit/AtomicOperationsGenerated.h", # generated in $OBJDIR
++ "../../../mfbt/Attributes.h", # unrecognized path
+ "jit/CacheIROpsGenerated.h", # generated in $OBJDIR