chiark / gitweb /
libgpg-error: workaround no stdout atexit with constructor prior to N (#1017)
[termux-packages] / packages / radare2 / paths.patch
1 diff -u -r ../radare2-1.0/libr/util/file.c ./libr/util/file.c
2 --- ../radare2-1.0/libr/util/file.c     2016-11-08 21:10:46.000000000 -0500
3 +++ ./libr/util/file.c  2016-11-10 07:42:18.409808792 -0500
4 @@ -808,7 +808,7 @@
5                 path = strdup ("C:\\WINDOWS\\Temp\\");
6         }
7  #elif __ANDROID__
8 -       char *path = strdup ("/data/data/org.radare.radare2installer/radare2/tmp");
9 +       char *path = strdup ("@TERMUX_PREFIX@/tmp");
10  #else
11         char *path = r_sys_getenv ("TMPDIR");
12         if (path && !*path) {