From: Fredrik Fornwall Date: Sat, 7 Jan 2017 06:00:39 +0000 (-0500) Subject: cmake: Update from 3.6.2 to 3.7.1 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/deeb04b5609eda52cbcdd8e46c38d54d5696d447?ds=inline cmake: Update from 3.6.2 to 3.7.1 --- diff --git a/packages/cmake/Source-cmExecProgramCommand.cxx.patch b/packages/cmake/Source-cmExecProgramCommand.cxx.patch index 75f82852..abe6c128 100644 --- a/packages/cmake/Source-cmExecProgramCommand.cxx.patch +++ b/packages/cmake/Source-cmExecProgramCommand.cxx.patch @@ -1,12 +1,12 @@ -diff -u -r ../cmake-3.6.1/Source/cmExecProgramCommand.cxx ./Source/cmExecProgramCommand.cxx ---- ../cmake-3.6.1/Source/cmExecProgramCommand.cxx 2016-07-22 09:50:22.000000000 -0400 -+++ ./Source/cmExecProgramCommand.cxx 2016-08-14 06:53:11.667195266 -0400 -@@ -209,7 +209,7 @@ +diff -u -r ../cmake-3.7.1/Source/cmExecProgramCommand.cxx ./Source/cmExecProgramCommand.cxx +--- ../cmake-3.7.1/Source/cmExecProgramCommand.cxx 2016-11-30 10:14:32.000000000 -0500 ++++ ./Source/cmExecProgramCommand.cxx 2017-01-06 06:22:11.611620662 -0500 +@@ -200,7 +200,7 @@ } fflush(stdout); fflush(stderr); -- const char* cmd[] = { "/bin/sh", "-c", command, 0 }; -+ const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, 0 }; +- const char* cmd[] = { "/bin/sh", "-c", command, CM_NULLPTR }; ++ const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, CM_NULLPTR }; cmsysProcess_SetCommand(cp, cmd); #endif diff --git a/packages/cmake/build.sh b/packages/cmake/build.sh index 9f0232ad..5953a418 100644 --- a/packages/cmake/build.sh +++ b/packages/cmake/build.sh @@ -1,8 +1,8 @@ -TERMUX_PKG_HOMEPAGE=http://www.cmake.org/ +TERMUX_PKG_HOMEPAGE=https://cmake.org/ TERMUX_PKG_DESCRIPTION="Family of tools designed to build, test and package software" -_MAJOR_VERSION=3.6 -TERMUX_PKG_VERSION=${_MAJOR_VERSION}.2 -TERMUX_PKG_SRCURL=http://www.cmake.org/files/v${_MAJOR_VERSION}/cmake-${TERMUX_PKG_VERSION}.tar.gz +_MAJOR_VERSION=3.7 +TERMUX_PKG_VERSION=${_MAJOR_VERSION}.1 +TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${_MAJOR_VERSION}/cmake-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_DEPENDS="libarchive, libcurl, libexpat, ncurses, jsoncpp" termux_step_configure () {