View | Details | Raw Unified | Return to bug 276746
Collapse All | Expand All

(-)b/www/firefox/files/patch-bug1873379 (+21 lines)
Added Link Here
1
--- layout/style/ServoBindings.toml.orig	2024-01-08 19:43:07 UTC
2
+++ layout/style/ServoBindings.toml
3
@@ -364,6 +364,9 @@ opaque-types = [
4
     "std::namespace::atomic___base", "std::atomic__My_base",
5
     "std::atomic",
6
     "std::atomic___base",
7
+    "std::tuple.*", # Causes "Cannot find type _Pred in this scope" error on mac, like rust-skia#571
8
+    "std::.*::tuple.*",
9
+
10
     # We want everything but FontVariation and Float to be opaque but we don't
11
     # have negative regexes.
12
     "mozilla::gfx::(.{0,4}|.{6,12}|.{14,}|([^F][^o][^n][^t][^V][^a][^r][^i][^a][^t][^i][^o][^n])|([^F][^l][^o][^a][^t]))",
13
@@ -389,8 +392,6 @@ opaque-types = [
14
                             # for clang.
15
     "mozilla::SeenPtrs",
16
     "mozilla::SupportsWeakPtr",
17
-    "std::tuple",
18
-    "std::tuple_.*", # Causes "Cannot find type _Pred in this scope" error on mac, like rust-skia#571
19
     "SupportsWeakPtr",
20
     "mozilla::detail::WeakReference",
21
     "mozilla::WeakPtr",
(-)b/www/firefox/files/patch-build_moz.configure_toolchain.configure (+14 lines)
Added Link Here
1
Ensure the build does not use "#pragma GCC visibility push(hidden)" before every
2
.cpp file, as this no longer works correctly with libc++ 18 and later.
3
4
--- build/moz.configure/toolchain.configure.orig	2024-01-18 21:41:20.000000000 +0100
5
+++ build/moz.configure/toolchain.configure	2024-01-31 11:18:04.902430000 +0100
6
@@ -2150,7 +2150,7 @@ def visibility_flags(target, env):
7
 @depends(target, build_environment)
8
 def visibility_flags(target, env):
9
     if target.os != "WINNT":
10
-        if target.kernel == "Darwin":
11
+        if target.kernel == "Darwin" or target.kernel == "FreeBSD":
12
             return ("-fvisibility=hidden", "-fvisibility-inlines-hidden")
13
         return (
14
             "-I%s/system_wrappers" % os.path.join(env.dist),

Return to bug 276746