Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/fix-i686-build-moz-1792159.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-25 07:25:52 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-25 07:25:52 +0200
commit437b67e3e6dc91f7c2bec294c64f6b9402221356 (patch)
treec74f33274b9539a2ad2b76273fd39727f40ef7e2 /extra/firefox/fix-i686-build-moz-1792159.patch
parent27e0f91bae59415b7f35ad9a88cd90bb421838c5 (diff)
extra/firefox: added fix-i686-build-moz-1792159 from VoidLinux
Diffstat (limited to 'extra/firefox/fix-i686-build-moz-1792159.patch')
-rw-r--r--extra/firefox/fix-i686-build-moz-1792159.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/firefox/fix-i686-build-moz-1792159.patch b/extra/firefox/fix-i686-build-moz-1792159.patch
new file mode 100644
index 00000000..592dcad9
--- /dev/null
+++ b/extra/firefox/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