diff --git a/packages/tintin++/build.sh b/packages/tintin++/build.sh index 224450930..ee188d474 100644 --- a/packages/tintin++/build.sh +++ b/packages/tintin++/build.sh @@ -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" diff --git a/packages/tintin++/src-system.c.patch b/packages/tintin++/src-system.c.patch new file mode 100644 index 000000000..206ecb18f --- /dev/null +++ b/packages/tintin++/src-system.c.patch @@ -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: