summaryrefslogtreecommitdiff
path: root/librewolf/debian/patches/librewolf/webrender_ffi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'librewolf/debian/patches/librewolf/webrender_ffi.patch')
-rw-r--r--librewolf/debian/patches/librewolf/webrender_ffi.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/librewolf/debian/patches/librewolf/webrender_ffi.patch b/librewolf/debian/patches/librewolf/webrender_ffi.patch
new file mode 100644
index 0000000..21b1886
--- /dev/null
+++ b/librewolf/debian/patches/librewolf/webrender_ffi.patch
@@ -0,0 +1,15 @@
+Description: Remove an extra constant definition that is now being generated by newer versions of cbindgen (0.24), and causing build failures because it is defined in several places.
+Author: Olivier Tilloy <olivier.tilloy@canonical.com>
+Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1773259
+Forwarded: not-needed
+
+--- a/gfx/webrender_bindings/webrender_ffi.h
++++ b/gfx/webrender_bindings/webrender_ffi.h
+@@ -73,8 +73,6 @@ struct WrPipelineInfo;
+ struct WrPipelineIdAndEpoch;
+ using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpoch>;
+
+-const uint64_t ROOT_CLIP_CHAIN = ~0;
+-
+ } // namespace wr
+ } // namespace mozilla
bgstack15