Browse Source

fossil: Bump revision after popen patch

android-5
Fredrik Fornwall 7 years ago
parent
commit
dd788f8df2
  1. 1
      packages/fossil/build.sh
  2. 2
      packages/fossil/src-popen.c.patch

1
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}

2
packages/fossil/fossil-2.3-termux-sh.patch → 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 */
Loading…
Cancel
Save