termux-packages/packages/radare2/libr-core-cconfig.c.patch
2017-05-30 19:43:02 +02:00

26 lines
1.2 KiB
Diff

diff -u -r ../radare2-1.5.0/libr/core/cconfig.c ./libr/core/cconfig.c
--- ../radare2-1.5.0/libr/core/cconfig.c 2017-05-30 18:46:34.000000000 +0200
+++ ./libr/core/cconfig.c 2017-05-30 19:39:39.339205400 +0200
@@ -2145,9 +2145,7 @@
#endif
SETCB ("dir.source", "", &cb_dirsrc, "Path to find source files");
SETPREF ("dir.types", "/usr/include", "Default path to look for cparse type files");
-#if __ANDROID__
- SETPREF ("dir.projects", "/data/data/org.radare.radare2installer/radare2/projects", "Default path for projects");
-#elif __WINDOWS__
+#if __WINDOWS__
SETPREF ("dir.projects", "~\\"R2_HOMEDIR"\\projects", "Default path for projects");
#else
SETPREF ("dir.projects", "~/"R2_HOMEDIR"/projects", "Default path for projects");
@@ -2300,9 +2298,7 @@
SETI ("http.maxsize", 0, "Maximum file size for upload");
SETPREF ("http.bind", "localhost", "Server address");
SETPREF ("http.homeroot", "~/.config/radare2/www", "http home root directory");
-#if __ANDROID__
- SETPREF ("http.root", "/data/data/org.radare.radare2installer/www", "http root directory");
-#elif __WINDOWS__
+#if __WINDOWS__
SETPREF ("http.root", "www", "http root directory");
#else
SETPREF ("http.root", R2_WWWROOT, "http root directory");