From 8a47b4e7c2d567edb6f34bfeef9b6f305a21c846 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 3 Sep 2017 21:15:23 +0200 Subject: [PATCH] fossil: Bump revision after popen patch --- packages/fossil/build.sh | 1 + .../fossil/{fossil-2.3-termux-sh.patch => src-popen.c.patch} | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) rename packages/fossil/{fossil-2.3-termux-sh.patch => src-popen.c.patch} (77%) diff --git a/packages/fossil/build.sh b/packages/fossil/build.sh index 1c202f19e..5e1385b06 100644 --- a/packages/fossil/build.sh +++ b/packages/fossil/build.sh @@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.fossil-scm.org TERMUX_PKG_DESCRIPTION="DSCM with built-in wiki, http interface and server, tickets database" TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas" TERMUX_PKG_VERSION=2.3 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=f073abf455a38ea0a08c3926d7445ab8115b145457f36c763ad9b74cd6a64a5d TERMUX_PKG_SRCURL=https://www.fossil-scm.org/index.html/uv/fossil-src-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_FOLDERNAME=fossil-${TERMUX_PKG_VERSION} diff --git a/packages/fossil/fossil-2.3-termux-sh.patch b/packages/fossil/src-popen.c.patch similarity index 77% rename from packages/fossil/fossil-2.3-termux-sh.patch rename to packages/fossil/src-popen.c.patch index 690ac4a93..2965fde5a 100644 --- a/packages/fossil/fossil-2.3-termux-sh.patch +++ b/packages/fossil/src-popen.c.patch @@ -9,7 +9,7 @@ Index: src/popen.c close(pin[0]); close(pin[1]); - execl("/bin/sh", "/bin/sh", "-c", zCmd, (char*)0); -+ execl("/data/data/com.termux/files/usr/bin/sh", "/data/data/com.termux/files/usr/bin/sh", "-c", zCmd, (char*)0); ++ execl("@TERMUX_PREFIX@/bin/sh", "@TERMUX_PREFIX@/bin/sh", "-c", zCmd, (char*)0); return 1; }else{ /* This is the parent process */