summaryrefslogtreecommitdiff
path: root/user/firefox-esr/gcc89074.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-19 02:10:20 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-21 02:08:32 -0600
commitdfe2d88752285a8da3bb1501caf9e804c5294150 (patch)
treec900c6d56f496734ccd7f586caa0bc6cbea61030 /user/firefox-esr/gcc89074.patch
parentf79ddfd3022bb02ebe179c931df2d1f481164884 (diff)
downloadpackages-dfe2d88752285a8da3bb1501caf9e804c5294150.tar.gz
packages-dfe2d88752285a8da3bb1501caf9e804c5294150.tar.bz2
packages-dfe2d88752285a8da3bb1501caf9e804c5294150.tar.xz
packages-dfe2d88752285a8da3bb1501caf9e804c5294150.zip
user/firefox-esr: Update to 91.13.0
It still works on ppc64! Even with VP8/VP9 video!
Diffstat (limited to 'user/firefox-esr/gcc89074.patch')
-rw-r--r--user/firefox-esr/gcc89074.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/firefox-esr/gcc89074.patch b/user/firefox-esr/gcc89074.patch
new file mode 100644
index 000000000..e9713193c
--- /dev/null
+++ b/user/firefox-esr/gcc89074.patch
@@ -0,0 +1,24 @@
+Upstream-URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1688122
+Upstream-URL: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89074
+
+Valid code, but only used for debugging. GCC 12 fixed this.
+Moz upstream not interested.
+
+--- firefox-91.13.0/dom/base/nsTreeSanitizer.cpp.old 2022-08-15 13:04:32.000000000 -0500
++++ firefox-91.13.0/dom/base/nsTreeSanitizer.cpp 2022-11-19 00:42:15.892580023 -0600
+@@ -632,15 +632,6 @@
+ constexpr const nsStaticAtom* const kURLAttributesSVG[] = {nsGkAtoms::href,
+ nullptr};
+
+-static_assert(AllOf(std::begin(kURLAttributesSVG), std::end(kURLAttributesSVG),
+- [](auto aURLAttributeSVG) {
+- return AnyOf(std::begin(kAttributesSVG),
+- std::end(kAttributesSVG),
+- [&](auto aAttributeSVG) {
+- return aAttributeSVG == aURLAttributeSVG;
+- });
+- }));
+-
+ const nsStaticAtom* const kElementsMathML[] = {
+ nsGkAtoms::abs_, // abs
+ nsGkAtoms::_and, // and