radare2: fix typo in patch
This commit is contained in:
parent
47b98eca54
commit
d75c3c1493
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user