X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/59f0d218a6ff34c80cf898f6d7ac62555ba8eb11..02baa030aa6273c97592f6790499f8892cb59223:/packages/cmake/Source-cmExecProgramCommand.cxx.patch diff --git a/packages/cmake/Source-cmExecProgramCommand.cxx.patch b/packages/cmake/Source-cmExecProgramCommand.cxx.patch index deee12f5..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.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.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