From 6ed5b8a65dfc42733f400d12cc1fafd32b33112e Mon Sep 17 00:00:00 2001 From: Butta Date: Fri, 23 Aug 2019 21:08:55 +0530 Subject: [PATCH] cmake: fix typo that broke exec_program --- packages/cmake/Source-cmExecProgramCommand.cxx.patch | 2 +- packages/cmake/build.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cmake/Source-cmExecProgramCommand.cxx.patch b/packages/cmake/Source-cmExecProgramCommand.cxx.patch index 2d04a805b..027a19a7d 100644 --- a/packages/cmake/Source-cmExecProgramCommand.cxx.patch +++ b/packages/cmake/Source-cmExecProgramCommand.cxx.patch @@ -6,7 +6,7 @@ diff -u -r ../cmake-3.15.2/Source/cmExecProgramCommand.cxx ./Source/cmExecProgra fflush(stdout); fflush(stderr); - const char* cmd[] = { "/bin/sh", "-c", command.c_str(), nullptr }; -+ const char* cmd[] = { "@TERMUX_PREFIX/bin/sh", "-c", command.c_str(), nullptr }; ++ const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command.c_str(), nullptr }; cmsysProcess_SetCommand(cp, cmd); #endif diff --git a/packages/cmake/build.sh b/packages/cmake/build.sh index 92f02f3c7..8a4f459a7 100644 --- a/packages/cmake/build.sh +++ b/packages/cmake/build.sh @@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://cmake.org/ TERMUX_PKG_DESCRIPTION="Family of tools designed to build, test and package software" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_VERSION=3.15.2 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${TERMUX_PKG_VERSION:0:4}/cmake-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=539088cb29a68e6d6a8fba5c00951e5e5b1a92c68fa38a83e1ed2f355933f768 TERMUX_PKG_DEPENDS="libarchive, libc++, libcurl, libexpat, jsoncpp, libuv, rhash, make, clang, zlib"