Browse Source

Merge pull request #4535 from rigrig/master

tintin++: Update from 2.01.91 to 2.01.92
emacs-27
Leonid Plyushch 5 years ago
committed by GitHub
parent
commit
7ab587d415
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/tintin++/build.sh
  2. 10
      packages/tintin++/src-system.c.patch

6
packages/tintin++/build.sh

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=http://tintin.sourceforge.net
TERMUX_PKG_DESCRIPTION="Classic text-based MUD client"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=2.01.91
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=2.01.92
TERMUX_PKG_SRCURL=https://sourceforge.net/projects/tintin/files/tintin-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=3596a6d540d58162dc60c318c520cb94ee52fb438b5db8a2fa2513c47fbe6359
TERMUX_PKG_SHA256=3386d49810f2dbc162f890f26bb81e3807af34753d7a4ead64cc40e845cba845
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_file__dev_ptmx=no"
TERMUX_PKG_DEPENDS="pcre, libgnutls, zlib"
TERMUX_PKG_BUILD_IN_SRC=true

10
packages/tintin++/src-system.c.patch

@ -1,12 +1,12 @@
diff -uNr tt/src/system.c tt.mod/src/system.c
--- src/system.c 2019-06-29 19:54:13.000000000 +0300
+++ src/system.c 2019-07-07 16:02:30.850010672 +0300
@@ -66,7 +66,7 @@
--- src/system.c 2019-11-03 01:01:58.000000000 +0100
+++ src/system.c 2019-11-13 23:17:14.053972425 +0100
@@ -73,7 +73,7 @@
case 0:
sprintf(temp, "exec %s", right);
sprintf(temp, "exec %s", arg2);
argv[2] = temp;
- execv("/bin/sh", argv);
+ execv("@TERMUX_PREFIX@/bin/sh", argv);
tcgetattr(0, &run_terminal);
break;
default:

Loading…
Cancel
Save