termux-packages/packages/radare2/paths.patch

13 lines
474 B
Diff
Raw Normal View History

2016-11-11 01:39:33 +01:00
diff -u -r ../radare2-1.0/libr/util/file.c ./libr/util/file.c
--- ../radare2-1.0/libr/util/file.c 2016-11-08 21:10:46.000000000 -0500
+++ ./libr/util/file.c 2016-11-10 07:42:18.409808792 -0500
@@ -808,7 +808,7 @@
path = strdup ("C:\\WINDOWS\\Temp\\");
}
2016-09-16 14:27:39 +02:00
#elif __ANDROID__
2016-11-11 01:39:33 +01:00
- char *path = strdup ("/data/data/org.radare.radare2installer/radare2/tmp");
2016-09-16 14:27:39 +02:00
+ char *path = strdup ("@TERMUX_PREFIX@/tmp");
#else
char *path = r_sys_getenv ("TMPDIR");
if (path && !*path) {