Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/firefox/PKGBUILD')
-rw-r--r--extra/firefox/PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD
index 03ae45d7..74d7d6ff 100644
--- a/extra/firefox/PKGBUILD
+++ b/extra/firefox/PKGBUILD
@@ -185,3 +185,21 @@ if [ "${CARCH}" = "i686" ]; then
CFLAGS="$CFLAGS -mmmx"
CXXFLAGS="$CXXFLAGS -mmmx"
fi
+
+# actually, this should be fixed in gcc 11?
+# for now let's build with gcc10
+#
+# https://bugzilla.mozilla.org/show_bug.cgi?id=1713071
+# https://bugzilla.mozilla.org/show_bug.cgi?id=1710235
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100644
+#
+#11:28.22 /usr/include/c++/11.1.0/type_traits:2933:11: error: no type named ‘type’ in
+# ‘struct std::invoke_result<nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<m
+#ozilla::dom::AccessibleNode> > >::PutEntry(nsTHashtable<nsBaseHashtableET<nsUint32Ha
+#shKey, RefPtr<mozilla::dom::AccessibleNode> > >::KeyType, const fallible_t&)::<lambd
+#a(auto:7)>, mozilla::Maybe<nsTHashtable<nsBaseHashtableET<nsUint32HashKey, RefPtr<mo
+#zilla::dom::AccessibleNode> > >::EntryHandle>&&>’
+#11:28.22 2933 | using invoke_result_t = typename invoke_result<_Fn, _Args...>::
+#type;
+
+makedepends+=(gcc10)