X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/c50ad1c4d54a7cf2b30183adc3baeb1a8ddda06e..78d7dd0d1b912d7b2456c293137d8192f5a04c29:/packages/cmake/Source-cmExecProgramCommand.cxx.patch diff --git a/packages/cmake/Source-cmExecProgramCommand.cxx.patch b/packages/cmake/Source-cmExecProgramCommand.cxx.patch index deee12f5..75f82852 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.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