From 5037cd3ce634ae80326019e2b39fc00d7e7e40c5 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Thu, 1 May 2025 22:05:54 +0800 Subject: librewolf: added patch fix build with latest clang --- repos/extra/librewolf/clang-fix.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 repos/extra/librewolf/clang-fix.patch (limited to 'repos/extra/librewolf/clang-fix.patch') 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", + + + + + -- cgit v1.2.3