tintin++: Patch path to bin/sh

This commit is contained in:
Fredrik Fornwall 2018-08-07 15:06:39 +02:00
parent 60264dbf3c
commit 4bf8c3f595
2 changed files with 13 additions and 0 deletions

View File

@ -1,6 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://tintin.sourceforge.net
TERMUX_PKG_DESCRIPTION="Classic text-based MUD client"
TERMUX_PKG_VERSION=2.01.4
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=dd22afbff45a93ec399065bae385489131af7e1b6ae8abb28f80d6a03b82ebbc
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/tintin/TinTin%2B%2B%20Source%20Code/${TERMUX_PKG_VERSION}/tintin-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_file__dev_ptmx=no"

View File

@ -0,0 +1,12 @@
diff -u -r ../../tt/src/system.c ./system.c
--- ../../tt/src/system.c 2017-07-16 14:27:12.000000000 +0000
+++ ./system.c 2018-08-06 20:36:28.313378209 +0000
@@ -67,7 +67,7 @@
case 0:
sprintf(temp, "exec %s", right);
argv[2] = temp;
- execv("/bin/sh", argv);
+ execv("@TERMUX_PREFIX@/bin/sh", argv);
break;
default: