From 83d5a7484b701d8b1a48098f34051ef3c268eb24 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 5 Apr 2020 21:03:14 +0300 Subject: [PATCH] nim: update osproc.nim.patch --- packages/nim/osproc.nim.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/nim/osproc.nim.patch b/packages/nim/osproc.nim.patch index 4cae6dada..b4e1bafe5 100644 --- a/packages/nim/osproc.nim.patch +++ b/packages/nim/osproc.nim.patch @@ -1,11 +1,12 @@ ---- ./lib/pure/osproc.a.nim 2018-11-20 22:10:39.892888610 +0000 -+++ ./lib/pure/osproc.nim 2018-11-20 22:11:48.031167863 +0000 -@@ -792,7 +792,7 @@ +diff -uNr nim-1.2.0/lib/pure/osproc.nim nim-1.2.0.mod/lib/pure/osproc.nim +--- nim-1.2.0/lib/pure/osproc.nim 2020-04-03 15:47:18.000000000 +0300 ++++ nim-1.2.0.mod/lib/pure/osproc.nim 2020-04-05 21:02:38.903445889 +0300 +@@ -852,7 +852,7 @@ if poEvalCommand in options: const useShPath {.strdefine.} = when not defined(android): "/bin/sh" - else: "/system/bin/sh" + else: "@TERMUX_PREFIX@/bin/sh" - sysCommand = useShPath - sysArgsRaw = @[sysCommand, "-c", command] + data.sysCommand = useShPath + sysArgsRaw = @[data.sysCommand, "-c", command] assert args.len == 0, "`args` has to be empty when using poEvalCommand."