chiark / gitweb /
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 1c202f19e46c84d67d62659893ecbe0325345dcc..5e1385b067268abc733a9c7308bd51fe80a76802 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 690ac4a9381d5bbf151813c6e02295b6ec5a3ca3..2965fde5a76f7f572dd2649045c11d864d7af974 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 */