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/.checksum | 1 + repos/extra/librewolf/abuild | 1 + repos/extra/librewolf/clang-fix.patch | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 repos/extra/librewolf/clang-fix.patch (limited to 'repos') diff --git a/repos/extra/librewolf/.checksum b/repos/extra/librewolf/.checksum index 1841ded5..7e0917a4 100644 --- a/repos/extra/librewolf/.checksum +++ b/repos/extra/librewolf/.checksum @@ -1,3 +1,4 @@ +b4e38dd9cb18f3c64d920beddb628e281c1edbb0e7f0c8315fae6e87d9d551ce clang-fix.patch 504da8aa33992b09a74d8ec262ec6c99752e64fb1d03441f86a49a21a874f95e fix-rust-target.patch 239cd03f380266533042187e4209e2b60aebf30259d5500cefff4bbdcd0bf454 librewolf-137.0-3.source.tar.gz 30889a96df16927cca69826f3ca94b9f751819c2fcae07001a7108847ff25cb6 visibility.patch diff --git a/repos/extra/librewolf/abuild b/repos/extra/librewolf/abuild index aa09e73a..987c92f0 100644 --- a/repos/extra/librewolf/abuild +++ b/repos/extra/librewolf/abuild @@ -6,6 +6,7 @@ _version=${_ver}-${_sion} release=1 source="https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${_version}/librewolf-${_version}.source.tar.gz visibility.patch + clang-fix.patch fix-rust-target.patch" build() { 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