Submitted by: Xi Ruoyao Modified by: Pierre Labastie Date: 2026-09-05 Initial Package Version: Firefox 153.2.0 (also applicable for SpiderMonkey 140.14.0 and Thunderbird 153.2.0) Upstream Status: Applied in tip but not the ESR branches harfbuzz commit 5e887d36722a (synced into mozilla- central at commit b71906b223a6, the change removing a previous incorrect change removed) Description: Allow building firefox with clang 23 A rust fix has been removed from the initial patch diff --git a/src/hb.hh b/src/hb.hh index 2458c1b3ab1..5d7c45c7941 100644 --- a/gfx/harfbuzz/src/hb.hh +++ b/gfx/harfbuzz/src/hb.hh @@ -152,6 +151,7 @@ #pragma GCC diagnostic ignored "-Wrange-loop-analysis" // https://github.com/harfbuzz/harfbuzz/issues/2834 #pragma GCC diagnostic ignored "-Wstrict-aliasing" #pragma GCC diagnostic ignored "-Wtype-limits" +#pragma GCC diagnostic ignored "-Wunused-template" #pragma GCC diagnostic ignored "-Wc++11-compat" // only gcc raises it #endif