aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_swiftshader_src_System_Configurator.cpp
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-06-18 05:51:42 +0000
committerRene Ladan <rene@FreeBSD.org>2022-06-22 08:15:26 +0000
commitd1fc8f8fc633309af3129e993bef21ebbe73ce04 (patch)
tree976377d0541012205b17c814c45998d26e68b901 /www/chromium/files/patch-third__party_swiftshader_src_System_Configurator.cpp
parent294ffa9e571f7489af1b75cc82dba8941772d02c (diff)
downloadports-d1fc8f8fc633309af3129e993bef21ebbe73ce04.tar.gz
ports-d1fc8f8fc633309af3129e993bef21ebbe73ce04.zip
www/chromium: update to 103.0.5060.53
Security: https://vuxml.freebsd.org/freebsd/b2a4c5f1-f1fe-11ec-bcd2-3065ec8fd3ec.html (cherry picked from commit 80ffbf089df7cc8d4b4879e23f6816fc7e338f7f)
Diffstat (limited to 'www/chromium/files/patch-third__party_swiftshader_src_System_Configurator.cpp')
-rw-r--r--www/chromium/files/patch-third__party_swiftshader_src_System_Configurator.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_swiftshader_src_System_Configurator.cpp b/www/chromium/files/patch-third__party_swiftshader_src_System_Configurator.cpp
new file mode 100644
index 000000000000..8300c60da5ec
--- /dev/null
+++ b/www/chromium/files/patch-third__party_swiftshader_src_System_Configurator.cpp
@@ -0,0 +1,12 @@
+--- third_party/swiftshader/src/System/Configurator.cpp.orig 2022-06-17 14:20:10 UTC
++++ third_party/swiftshader/src/System/Configurator.cpp
+@@ -38,6 +38,9 @@ namespace sw {
+
+ Configurator::Configurator(const std::string &filePath)
+ {
++#if defined(__OpenBSD__) || defined(__FreeBSD__)
++ return;
++#endif
+ std::fstream file(filePath, std::ios::in);
+ if(file.fail())
+ {