95d0149704
* boinc: update to 7.16.11 * boinc: update patches for 7.16.11 * boinc: disable switcher termux/termux-packages#5668 * boinc: add oobe improvement patches * boinc: simplify disable-whetneon.patch termux/termux-packages#5795 The old patch is getting hard to maintain because someone think it is a good idea to support non-NEON Android devices in 2020. The new patch simplify things by only disable 32bit ARM host detection so that whetneon and whetvfp will not be built which can make the client too complex. Apply this patch and please dont use "-DANDROID" and "--host arm-linux*" * boinc: fix 32bit compatibility on 64bit Termux Remove blocking request 32bit executables and fix it instead. Add patch that unset LD_PRELOAD environment variable before running 32bit BOINC executables. This is applicable for 64bit Android devices running BOINC on Termux. No manual unset from user is needed. * boinc: simplify disable-whetneon.patch v2
18 lines
702 B
Diff
18 lines
702 B
Diff
diff -uNr boinc-client_release-7.16-7.16.11/client/hostinfo_unix.cpp boinc-client_release-7.16-7.16.11.mod/client/hostinfo_unix.cpp
|
|
--- boinc-client_release-7.16-7.16.11/client/hostinfo_unix.cpp 2020-08-30 16:04:59.000000000 +0800
|
|
+++ boinc-client_release-7.16-7.16.11.mod/client/hostinfo_unix.cpp 2020-09-11 11:47:27.990000000 +0800
|
|
@@ -1414,11 +1414,11 @@
|
|
#if HAVE_SYS_UTSNAME_H
|
|
struct utsname u;
|
|
uname(&u);
|
|
-#ifdef ANDROID
|
|
+#ifdef __ANDROID__
|
|
safe_strcpy(os_name, "Android");
|
|
#else
|
|
safe_strcpy(os_name, u.sysname);
|
|
-#endif //ANDROID
|
|
+#endif // __ANDROID__
|
|
#if defined(__EMX__) // OS2: version is in u.version
|
|
safe_strcpy(os_version, u.version);
|
|
#elif defined(__HAIKU__)
|