fossil: Bump revision after popen patch
authorFredrik Fornwall <fredrik@fornwall.net>
Sun, 3 Sep 2017 19:15:23 +0000 (21:15 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Sun, 3 Sep 2017 19:15:23 +0000 (21:15 +0200)
packages/fossil/build.sh
packages/fossil/src-popen.c.patch [moved from packages/fossil/fossil-2.3-termux-sh.patch with 77% similarity]

index 1c202f1..5e1385b 100644 (file)
@@ -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}
similarity index 77%
rename from packages/fossil/fossil-2.3-termux-sh.patch
rename to packages/fossil/src-popen.c.patch
index 690ac4a..2965fde 100644 (file)
@@ -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 */