From 62c1e34044d0e6a8309ea9809f7dc9126ffe1f6c Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 2 Jun 2024 02:27:07 -0400 Subject: bindgen????? --- .../files/chromium-127-bindgen-include-temporary.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 www-client/chromium/files/chromium-127-bindgen-include-temporary.patch (limited to 'www-client/chromium/files') diff --git a/www-client/chromium/files/chromium-127-bindgen-include-temporary.patch b/www-client/chromium/files/chromium-127-bindgen-include-temporary.patch new file mode 100644 index 0000000..570cce8 --- /dev/null +++ b/www-client/chromium/files/chromium-127-bindgen-include-temporary.patch @@ -0,0 +1,13 @@ +diff --git a/build/rust/rust_bindgen.gni b/build/rust/rust_bindgen.gni +index bf110ca93c..654ddf5f0b 100644 +--- a/build/rust/rust_bindgen.gni ++++ b/build/rust/rust_bindgen.gni +@@ -152,6 +152,8 @@ template("rust_bindgen") { + clang_resource_dir, + ] + ++ args += [ "-I" + rebase_path(sysroot + "/usr/lib/clang/17/include/", root_build_dir) ] ++ + # The `--sysroot` flag is not working as expected and gets ignored (we don't + # fully understand why, see b/328510249). But we add `-isystem` to point at + # the headers in the sysroot which are otherwise not found. -- cgit v1.2.3