From b72a1fc514e42bac0937c820909bdd049c29b1d5 Mon Sep 17 00:00:00 2001 From: Richard de Boer Date: Wed, 13 Nov 2019 22:56:54 +0100 Subject: [PATCH] tintin++: Update from 2.01.91 to 2.01.92 Also fix license field: TinTin++ 2.01.8 switched from GPL-2.0 to GPL-3.0 --- packages/tintin++/build.sh | 6 +++--- packages/tintin++/src-system.c.patch | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/tintin++/build.sh b/packages/tintin++/build.sh index b4af2318d..8813d76fb 100644 --- a/packages/tintin++/build.sh +++ b/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 diff --git a/packages/tintin++/src-system.c.patch b/packages/tintin++/src-system.c.patch index 0dabedfd3..c45700066 100644 --- a/packages/tintin++/src-system.c.patch +++ b/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: