File: prevent_manager_from_starting_client.patch

package info (click to toggle)
boinc 8.2.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 104,688 kB
  • sloc: cpp: 172,875; php: 115,929; pascal: 56,058; xml: 17,863; python: 8,752; javascript: 6,538; sh: 5,343; objc: 2,322; ansic: 2,200; makefile: 2,166; perl: 1,843; sql: 831; java: 429; lisp: 47; csh: 30
file content (15 lines) | stat: -rw-r--r-- 701 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -urNr boinc-client_release-7.14-7.14.2-orig/clientgui/BOINCClientManager.cpp boinc-client_release-7.14-7.14.2/clientgui/BOINCClientManager.cpp
--- boinc-client_release-7.14-7.14.2-orig/clientgui/BOINCClientManager.cpp	2018-10-11 02:43:27.000000000 +0200
+++ boinc-client_release-7.14-7.14.2/clientgui/BOINCClientManager.cpp	2019-03-18 16:36:39.032554578 +0100
@@ -208,6 +208,11 @@
 
     if (IsBOINCCoreRunning()) return true;
 
+// Disables for Linux/UNIX the part of code of this function that starts with comment "Unix based systems"
+#ifdef __WXGTK__
+    else return false;
+#endif
+
 #if defined(__WXMSW__)
     wxString     strDataDir = wxEmptyString;
     const char*  pszExecute = NULL;