termux-packages/packages/boinc/_autosetup.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
467 B
Diff

diff -uNr boinc-client_release-7.18-7.18.1/_autosetup boinc-client_release-7.18-7.18.1.mod/_autosetup
--- boinc-client_release-7.18-7.18.1/_autosetup 2021-08-03 23:52:19.000000000 +0800
+++ boinc-client_release-7.18-7.18.1.mod/_autosetup 2021-12-27 20:03:46.335967627 +0800
@@ -19,7 +19,7 @@
check_version()
{
dir=`pwd`
- cd /tmp
+ cd "${TMPDIR:-/tmp}"
foundit=
## get current version of $1
desired=`echo $2 | awk -F. '{print $1*100+$2}'`