summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2024-06-02 02:27:07 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2024-06-02 03:11:05 -0400
commit62c1e34044d0e6a8309ea9809f7dc9126ffe1f6c (patch)
tree4a23664093a3e2b04ef8d615443b248c46d8c873 /www-client/chromium/files
parent6701e19ac516ff514bc65ca7a5b7d6a6872bd199 (diff)
downloadppo-62c1e34044d0e6a8309ea9809f7dc9126ffe1f6c.tar.xz
bindgen?????
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-127-bindgen-include-temporary.patch13
1 files changed, 13 insertions, 0 deletions
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.