aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_dawn_src_common_Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_dawn_src_common_Platform.h')
-rw-r--r--www/chromium/files/patch-third__party_dawn_src_common_Platform.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_dawn_src_common_Platform.h b/www/chromium/files/patch-third__party_dawn_src_common_Platform.h
new file mode 100644
index 000000000000..94b318f64a4e
--- /dev/null
+++ b/www/chromium/files/patch-third__party_dawn_src_common_Platform.h
@@ -0,0 +1,14 @@
+--- third_party/dawn/src/common/Platform.h.orig 2021-06-11 10:04:56 UTC
++++ third_party/dawn/src/common/Platform.h
+@@ -45,6 +45,11 @@
+ # define DAWN_PLATFORM_EMSCRIPTEN 1
+ # define DAWN_PLATFORM_POSIX 1
+
++#elif defined(__FreeBSD__)
++# define DAWN_PLATFORM_FREEBSD 1
++# define DAWN_PLATFORM_LINUX 1
++# define DAWN_PLATFORM_POSIX 1
++
+ #else
+ # error "Unsupported platform."
+ #endif