ncurses: Update from 6.0.20171028 to 6.0.20171216
[termux-packages] / packages / cmake / Source-cmExecProgramCommand.cxx.patch
index 75f8285..d60a7b7 100644 (file)
@@ -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.10.1/Source/cmExecProgramCommand.cxx ./Source/cmExecProgramCommand.cxx
+--- ../cmake-3.10.1/Source/cmExecProgramCommand.cxx    2017-12-13 14:25:23.000000000 +0100
++++ ./Source/cmExecProgramCommand.cxx  2017-12-15 12:18:37.696103242 +0100
+@@ -205,7 +205,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, nullptr };
++  const char* cmd[] = { "@TERMUX_PREFIX@/bin/sh", "-c", command, nullptr };
    cmsysProcess_SetCommand(cp, cmd);
  #endif