cmake: Update from 3.5.2 to 3.6.1
authorFredrik Fornwall <fredrik@fornwall.net>
Sun, 14 Aug 2016 11:20:51 +0000 (07:20 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Sun, 14 Aug 2016 11:20:51 +0000 (07:20 -0400)
packages/cmake/Source-cmExecProgramCommand.cxx.patch
packages/cmake/build.sh

index deee12f..75f8285 100644 (file)
@@ -1,12 +1,12 @@
-diff -u -r ../cmake-3.2.2/Source/cmExecProgramCommand.cxx ./Source/cmExecProgramCommand.cxx
---- ../cmake-3.2.2/Source/cmExecProgramCommand.cxx     2015-04-13 13:09:00.000000000 -0400
-+++ ./Source/cmExecProgramCommand.cxx  2015-05-24 16:03:19.876643538 -0400
-@@ -256,7 +256,7 @@
-     }
+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 @@
+   }
    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, 0 };
++  const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, 0 };
    cmsysProcess_SetCommand(cp, cmd);
  #endif
  
index ce5fc2c..bb1a4c8 100644 (file)
@@ -1,8 +1,7 @@
 TERMUX_PKG_HOMEPAGE=http://www.cmake.org/
 TERMUX_PKG_DESCRIPTION="Family of tools designed to build, test and package software"
-_MAJOR_VERSION=3.5
-TERMUX_PKG_VERSION=${_MAJOR_VERSION}.2
-TERMUX_PKG_BUILD_REVISION=1
+_MAJOR_VERSION=3.6
+TERMUX_PKG_VERSION=${_MAJOR_VERSION}.1
 TERMUX_PKG_SRCURL=http://www.cmake.org/files/v${_MAJOR_VERSION}/cmake-${TERMUX_PKG_VERSION}.tar.gz
 TERMUX_PKG_DEPENDS="libarchive, libcurl, libexpat, ncurses, jsoncpp"