summaryrefslogtreecommitdiff
path: root/user/thunderbird/gcc89074.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-19 04:01:56 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-21 02:08:32 -0600
commit603147ea5d9a4b815bf9448dee4c8648e3eefbc4 (patch)
treeff4c84fe8207b7c90f124e5cbbe925b675a3cbd7 /user/thunderbird/gcc89074.patch
parentdfe2d88752285a8da3bb1501caf9e804c5294150 (diff)
downloadpackages-603147ea5d9a4b815bf9448dee4c8648e3eefbc4.tar.gz
packages-603147ea5d9a4b815bf9448dee4c8648e3eefbc4.tar.bz2
packages-603147ea5d9a4b815bf9448dee4c8648e3eefbc4.tar.xz
packages-603147ea5d9a4b815bf9448dee4c8648e3eefbc4.zip
user/thunderbird: Update to 91.13.0
Diffstat (limited to 'user/thunderbird/gcc89074.patch')
-rw-r--r--user/thunderbird/gcc89074.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/thunderbird/gcc89074.patch b/user/thunderbird/gcc89074.patch
new file mode 100644
index 000000000..e9713193c
--- /dev/null
+++ b/user/thunderbird/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