aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_dawn_src_common_Platform.h
diff options
context:
space:
mode:
authorMatthias Wolf <matthias@rheinwolf.de>2021-06-17 09:22:35 +0000
committerRene Ladan <rene@FreeBSD.org>2021-06-17 09:32:02 +0000
commit9c8545d7801e5a5b68dd4c68d5f0dcb7109015d0 (patch)
treebd5ba927b4a7b2e0fc9aeef18b17d738079b2edd /www/chromium/files/patch-third__party_dawn_src_common_Platform.h
parentccd805d32e3522eee71501f122f41f59f99fd1b5 (diff)
downloadports-9c8545d7801e5a5b68dd4c68d5f0dcb7109015d0.tar.gz
ports-9c8545d7801e5a5b68dd4c68d5f0dcb7109015d0.zip
www/chromium: update to 91.0.4472.101
Security: https://vuxml.freebsd.org/freebsd/20b3ab21-c9df-11eb-8558-3065ec8fd3ec.html (cherry picked from commit 06317815238060a3a7f5911f18a3dd7c95779c83)
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