File: prevent_manager_from_starting_client.patch

package info (click to toggle)
boinc 7.20.5%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 105,168 kB
  • sloc: cpp: 164,098; php: 116,024; pascal: 56,324; ansic: 49,284; xml: 18,250; python: 7,133; javascript: 6,536; sh: 5,824; java: 3,501; makefile: 2,101; perl: 1,843; objc: 1,727; sql: 1,003; lisp: 47; csh: 30
file content (15 lines) | stat: -rw-r--r-- 698 bytes parent folder | download | duplicates (2)
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
@@ -199,6 +199,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__)
     const char*  pszExecute = NULL;
     const char*  pszDataDirectory = NULL;