1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-24 15:57:07 +00:00
termux-packages/packages/boinc/lib-gui_rpc_client.cpp.patch
Jia Yuan Lo 794f8f791b
boinc: update to 7.18.1 (#8394)
* boinc: update to 7.18.1

  * change to per-file patches
  * add bash completion
  * add device detection by default
  * add optional Linux task support via proot
  * disable unused code path for Termux

* boinc: fix prerelease message
2021-12-29 17:40:36 +02:00

13 lines
626 B
Diff

diff -uNr boinc-client_release-7.18-7.18.1/lib/gui_rpc_client.cpp boinc-client_release-7.18-7.18.1.mod/lib/gui_rpc_client.cpp
--- boinc-client_release-7.18-7.18.1/lib/gui_rpc_client.cpp 2021-08-03 23:52:19.000000000 +0800
+++ boinc-client_release-7.18-7.18.1.mod/lib/gui_rpc_client.cpp 2021-12-29 19:11:49.145461911 +0800
@@ -416,7 +416,7 @@
char msg_buf[1024];
FILE* f = fopen(GUI_RPC_PASSWD_FILE, "r");
if (!f) {
-#if defined(__linux__)
+#if defined(__linux__) && !defined(__ANDROID__)
#define HELP_URL "https://boinc.berkeley.edu/gui_rpc.php"
char path[MAXPATHLEN];
if (errno == EACCES) {