aboutsummaryrefslogtreecommitdiff
path: root/devel/electron12/files/patch-third__party_swiftshader_src_Common_Configurator.cpp
blob: c8826705cb028e1ca1e44d7e125f62dc5332b603 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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)
 			{