its-pointless
8 years ago
committed by
Fredrik Fornwall
2 changed files with 27 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/gnuit/ |
||||
|
TERMUX_PKG_DESCRIPTION="gnuit - GNU Interactive Tools" |
||||
|
TERMUX_PKG_VERSION=4.9.5 |
||||
|
TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/gnuit/gnuit-4.9.5.tar.gz |
||||
|
TERMUX_PKG_SHA256=6b6e96db13bafa5ad35c735b2277699d4244088c709a3e134fb1a3e8c8a8557c |
||||
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-transition" |
||||
|
TERMUX_PKG_DEPENDS="ncurses" |
||||
|
termux_step_pre_configure() { |
||||
|
LDFLAGS+=" -landroid-support" |
||||
|
} |
||||
|
termux_step_post_massage() { |
||||
|
cd $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/share/gnuit |
||||
|
ln -s gnuitrc.xterm-color gnuitrc.xterm-256color |
||||
|
ln -s gnuitrc.screen gnuitrc.screen-color |
||||
|
ln -s gnuitrc.screen gnuitrc.screen-256color |
||||
|
} |
@ -0,0 +1,11 @@ |
|||||
|
--- ../cache/gnuit-4.9.5/src/system.c 2009-02-18 02:31:26.000000000 +0000
|
||||
|
+++ ./src/system.c 2017-05-31 02:32:44.499460109 +0000
|
||||
|
@@ -162,7 +162,7 @@
|
||||
|
close(0); |
||||
|
} |
||||
|
|
||||
|
- execle("/bin/sh", "sh", "-c", command, (char *)NULL, environ);
|
||||
|
+ execle("/data/data/com.termux/files/usr/bin/sh", "sh", "-c", command, (char *)NULL, environ);
|
||||
|
|
||||
|
/* Make sure we exit if exec() fails. Call _exit() instead of |
||||
|
exit() to avoid flushing file descriptors twice (in the |
Loading…
Reference in new issue