termux-packages/packages/racket/collects-racket-system.rkt.patch
Leonid Pliushch 625f2aab3c
move some packages from unstable repo
Everything moved has been manually compiled and submitted to the main
apt repo at packages.termux.org.

%ci:no-build
2021-10-24 18:31:15 +00:00

13 lines
603 B
Diff

diff -u -r ../racket-6.6/collects/racket/system.rkt ./collects/racket/system.rkt
--- ../racket-6.6/collects/racket/system.rkt 2016-04-15 16:33:56.000000000 -0400
+++ ./collects/racket/system.rkt 2016-11-22 16:45:09.576844179 -0500
@@ -17,7 +17,7 @@
(define (shell-path/args who argstr)
(case (system-type)
- [(unix macosx) (append '("/bin/sh" "-c") (list argstr))]
+ [(unix macosx) (append '("@TERMUX_PREFIX@/bin/sh" "-c") (list argstr))]
[(windows) (let ([cmd
(let ([d (find-system-path 'sys-dir)])
(let ([cmd (build-path d "cmd.exe")])