Browse Source

tintin++: Patch path to bin/sh

android-5
Fredrik Fornwall 6 years ago
parent
commit
2586561eb7
  1. 1
      packages/tintin++/build.sh
  2. 12
      packages/tintin++/src-system.c.patch

1
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"

12
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:
Loading…
Cancel
Save