0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/boinc/client-gui_rpc_server_ops.cpp.patch

19 lines
548 B
Diff

--- a/client/gui_rpc_server_ops.cpp
+++ b/client/gui_rpc_server_ops.cpp
@@ -415,6 +415,7 @@
safe_strcpy(gstate.host_info.os_name, hi.os_name);
}
+#if defined(__ANDROID__) && !defined(__TERMUX__)
// We already have the Linux kernel version;
// append the Android version.
//
@@ -425,6 +426,7 @@
safe_strcat(gstate.host_info.os_version, ")");
}
}
+#endif
// Device name
if (strlen(hi.domain_name)) {