aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-third__party_swiftshader_src_Common_Configurator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-third__party_swiftshader_src_Common_Configurator.cpp')
-rw-r--r--devel/electron13/files/patch-third__party_swiftshader_src_Common_Configurator.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-third__party_swiftshader_src_Common_Configurator.cpp b/devel/electron13/files/patch-third__party_swiftshader_src_Common_Configurator.cpp
new file mode 100644
index 000000000000..c8826705cb02
--- /dev/null
+++ b/devel/electron13/files/patch-third__party_swiftshader_src_Common_Configurator.cpp
@@ -0,0 +1,12 @@
+--- third_party/swiftshader/src/Common/Configurator.cpp.orig 2021-01-07 00:39:34 UTC
++++ third_party/swiftshader/src/Common/Configurator.cpp
+@@ -42,6 +42,9 @@ namespace sw
+
+ bool Configurator::readFile()
+ {
++#if defined(__FreeBSD__)
++ return false;
++#endif
+ #if defined(__unix__)
+ if(access(path.c_str(), R_OK) != 0)
+ {