mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 09:32:47 +00:00
Fix includes
``` DEBUG: In file included from ../../third_party/angle/src/common/vulkan/vulkan_icd.cpp:9: DEBUG: In file included from ../../third_party/angle/src/common/vulkan/vulkan_icd.h:15: DEBUG: In file included from ../../third_party/angle/src/common/vulkan/vk_headers.h:14: DEBUG: In file included from ../../third_party/angle/src/third_party/volk/volk.h:50: DEBUG: In file included from ../../third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan.h:41: DEBUG: In file included from ../../third_party/wayland/src/src/wayland-client.h:40: DEBUG: /usr/include/wayland-client-protocol.h:1038:13: error: use of undeclared identifier 'wl_proxy_marshal_flags' DEBUG: callback = wl_proxy_marshal_flags((struct wl_proxy *) wl_display, ```
This commit is contained in:
parent
fc7477d8be
commit
3d7386b77a
2 changed files with 40 additions and 0 deletions
38
angle-wayland-include-protocol.patch
Normal file
38
angle-wayland-include-protocol.patch
Normal file
|
@ -0,0 +1,38 @@
|
|||
diff -upr third_party/angle.orig/BUILD.gn third_party/angle/BUILD.gn
|
||||
--- a/third_party/angle.orig/BUILD.gn 2022-08-17 19:38:11.000000000 +0000
|
||||
+++ b/third_party/angle/BUILD.gn 2022-08-18 11:04:09.061751111 +0000
|
||||
@@ -489,6 +489,12 @@ config("angle_vulkan_wayland_config") {
|
||||
if (angle_enable_vulkan && angle_use_wayland &&
|
||||
defined(vulkan_wayland_include_dirs)) {
|
||||
include_dirs = vulkan_wayland_include_dirs
|
||||
+ } else if (angle_enable_vulkan && angle_use_wayland) {
|
||||
+ include_dirs = [
|
||||
+ "$wayland_gn_dir/src/src",
|
||||
+ "$wayland_gn_dir/include/src",
|
||||
+ "$wayland_gn_dir/include/protocol",
|
||||
+ ]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1073,6 +1079,7 @@ if (angle_use_wayland) {
|
||||
include_dirs = [
|
||||
"$wayland_dir/egl",
|
||||
"$wayland_dir/src",
|
||||
+ "$wayland_gn_dir/include/protocol",
|
||||
]
|
||||
}
|
||||
|
||||
diff -upr third_party/angle.orig/src/third_party/volk/BUILD.gn third_party/angle/src/third_party/volk/BUILD.gn
|
||||
--- a/third_party/angle.orig/src/third_party/volk/BUILD.gn 2022-08-17 19:38:12.000000000 +0000
|
||||
+++ b/third_party/angle/src/third_party/volk/BUILD.gn 2022-08-18 11:04:36.499828006 +0000
|
||||
@@ -21,6 +21,9 @@ source_set("volk") {
|
||||
configs += [ "$angle_root:angle_no_cfi_icall" ]
|
||||
public_deps = [ "$angle_vulkan_headers_dir:vulkan_headers" ]
|
||||
if (angle_use_wayland) {
|
||||
- include_dirs = [ "$wayland_dir/src" ]
|
||||
+ include_dirs = [
|
||||
+ "$wayland_dir/src",
|
||||
+ "$wayland_gn_dir/include/protocol",
|
||||
+ ]
|
||||
}
|
||||
}
|
|
@ -136,6 +136,8 @@ Patch655: 0005-Adjust-sizes-in-new-tab-page-for-Russian-text.patch
|
|||
# (e.g. an LGBT-colored one, https://clck.ru/niFdJ)
|
||||
# https://github.com/Eloston/ungoogled-chromium/blob/master/patches/core/ungoogled-chromium/block-requests.patch
|
||||
Patch656: block-requests.patch
|
||||
# From Arch Linux, fix includes
|
||||
Patch657: angle-wayland-include-protocol.patch
|
||||
|
||||
BuildRequires: bison
|
||||
BuildRequires: llvm15
|
||||
|
|
Loading…
Add table
Reference in a new issue