Line 0
Link Here
|
|
|
1 |
--- client/hostinfo_unix.cpp.orig 2013-12-20 14:28:08.000000000 -0600 |
2 |
+++ client/hostinfo_unix.cpp 2014-04-16 17:07:56.996236131 -0500 |
3 |
@@ -1213,6 +1213,8 @@ |
4 |
|
5 |
#if LINUX_LIKE_SYSTEM |
6 |
safe_strcpy(path, "/usr/lib/virtualbox/VBoxManage"); |
7 |
+#elif defined( __FreeBSD__) |
8 |
+ safe_strcpy(path, "/usr/local/lib/virtualbox/VBoxManage"); |
9 |
#elif defined( __APPLE__) |
10 |
FSRef theFSRef; |
11 |
OSStatus status = noErr; |
12 |
@@ -1231,7 +1233,7 @@ |
13 |
#endif |
14 |
|
15 |
if (boinc_file_exists(path)) { |
16 |
-#if LINUX_LIKE_SYSTEM |
17 |
+#if LINUX_LIKE_SYSTEM || defined( __FreeBSD__) |
18 |
if (access(path, X_OK)) { |
19 |
return 0; |
20 |
} |