aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/librewolf/clang-fix.patch
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-05-01 22:05:54 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-05-01 22:05:54 +0800
commit5037cd3ce634ae80326019e2b39fc00d7e7e40c5 (patch)
tree910498eba9103eaef4ee18813a29c1e2d86833cf /repos/extra/librewolf/clang-fix.patch
parent0b3e7c9a341b3cf8f4e7d24963ae9d3cf64cdbdb (diff)
downloadalicelinux-5037cd3ce634ae80326019e2b39fc00d7e7e40c5.tar.gz
alicelinux-5037cd3ce634ae80326019e2b39fc00d7e7e40c5.zip
librewolf: added patch fix build with latest clang
Diffstat (limited to 'repos/extra/librewolf/clang-fix.patch')
-rw-r--r--repos/extra/librewolf/clang-fix.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/repos/extra/librewolf/clang-fix.patch b/repos/extra/librewolf/clang-fix.patch
new file mode 100644
index 00000000..914cd5d0
--- /dev/null
+++ b/repos/extra/librewolf/clang-fix.patch
@@ -0,0 +1,27 @@
+
+diff --git a/layout/style/ServoBindings.toml b/layout/style/ServoBindings.toml
+--- a/layout/style/ServoBindings.toml
++++ b/layout/style/ServoBindings.toml
+@@ -296,16 +296,17 @@ opaque-types = [
+ "std::atomic",
+ "std::atomic___base",
+ "std::tuple.*", # Causes "Cannot find type _Pred in this scope" error on mac, like rust-skia#571
+ "std::.*::tuple.*",
+
+ "mozilla::dom::Touch",
+ "mozilla::dom::Sequence",
+ "mozilla::SmallPointerArray",
++ "mozilla::SmallPointerArray_Element",
+ "mozilla::dom::Optional",
+ "mozilla::dom::OwningNodeOrString_Value",
+ "mozilla::dom::Nullable",
+ "mozilla::external::AtomicRefCounted",
+ "RefPtr_Proxy",
+ "RefPtr_Proxy_member_function",
+ "nsAutoPtr_Proxy",
+ "nsAutoPtr_Proxy_member_function",
+
+
+
+
+