Leonid Plyushch
5 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with
3 additions and
2 deletions
-
packages/radare2/build.sh
-
packages/radare2/libr-core-cconfig.c.patch
|
|
@ -2,8 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://rada.re |
|
|
|
TERMUX_PKG_DESCRIPTION="Advanced Hexadecimal Editor" |
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0" |
|
|
|
TERMUX_PKG_VERSION=4.1.1 |
|
|
|
TERMUX_PKG_SHA256=b62472601cdd20356b838d6f91738159e30ac1d7b4d0c0cb158575b1ef969e69 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_SRCURL=https://github.com/radare/radare2/archive/$TERMUX_PKG_VERSION.tar.gz |
|
|
|
TERMUX_PKG_SHA256=b62472601cdd20356b838d6f91738159e30ac1d7b4d0c0cb158575b1ef969e69 |
|
|
|
TERMUX_PKG_DEPENDS="libuv" |
|
|
|
TERMUX_PKG_BREAKS="radare2-dev" |
|
|
|
TERMUX_PKG_REPLACES="radare2-dev" |
|
|
|
|
|
@ -6,7 +6,7 @@ diff -uNr radare2-3.9.0/libr/core/cconfig.c radare2-3.9.0.mod/libr/core/cconfig. |
|
|
|
if (h) { |
|
|
|
if (!strcmp (h, "/")) { |
|
|
|
- r_sys_setenv (R_SYS_HOME, "/data/local/tmp");
|
|
|
|
+ r_sys_setenv (R_SYS_HOME, "@TERMUX_ANDROID_HOME@");
|
|
|
|
+ r_sys_setenv (R_SYS_HOME, "@TERMUX_HOME@");
|
|
|
|
} |
|
|
|
free (h); |
|
|
|
} |
|
|
|