0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-24 13:06:15 +00:00
termux-packages/disabled-packages/abuild/abuild-fetch.c.patch
Leonid Pliushch 4d7d3ed05e move abuild and apk-tools to disabled packages
We are continuing to use APT as package manager, so having another one is pointless
especially if we are not going to create repository for `apk`.
2019-10-10 15:33:35 +03:00

13 lines
452 B
Diff

diff -uNr abuild-3.4.0/abuild-fetch.c abuild-3.4.0.mod/abuild-fetch.c
--- abuild-3.4.0/abuild-fetch.c 2019-06-14 15:13:23.000000000 +0300
+++ abuild-3.4.0.mod/abuild-fetch.c 2019-07-21 16:45:34.475241394 +0300
@@ -189,7 +189,7 @@
int main(int argc, char *argv[])
{
int opt;
- char *destdir = "/var/cache/distfiles";
+ char *destdir = "@TERMUX_PREFIX@/var/cache/distfiles";
program = argv[0];
while ((opt = getopt(argc, argv, "hd:")) != -1) {