From 58023d92f6970b6727e58af6667291998981f5cd Mon Sep 17 00:00:00 2001 From: Arun Date: Wed, 22 Jan 2020 21:25:51 +0530 Subject: [PATCH] dart: update to 2.7.0 --- packages/dart/build.sh | 2 +- packages/dart/fix-shell-path.patch | 24 ------------------------ 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/packages/dart/build.sh b/packages/dart/build.sh index 7fd501c56..89f5cf13d 100644 --- a/packages/dart/build.sh +++ b/packages/dart/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://www.dartlang.org/ TERMUX_PKG_DESCRIPTION="Dart is a general-purpose programming language" TERMUX_PKG_LICENSE="BSD" -TERMUX_PKG_VERSION=2.4.1 +TERMUX_PKG_VERSION=2.7.0 TERMUX_PKG_BUILD_IN_SRC=true # Dart uses tar and gzip to extract downloaded packages. diff --git a/packages/dart/fix-shell-path.patch b/packages/dart/fix-shell-path.patch index fa21bd14a..6fefdc0c2 100644 --- a/packages/dart/fix-shell-path.patch +++ b/packages/dart/fix-shell-path.patch @@ -19,27 +19,3 @@ diff -uNr src/sdk/pkg/front_end/lib/src/api_prototype/terminal_color_support.dar if (result.exitCode != 0) { if (debug) { -diff -uNr src/sdk/pkg/front_end/lib/src/fasta/colors.dart src.mod/sdk/pkg/front_end/lib/src/fasta/colors.dart ---- src/sdk/pkg/front_end/lib/src/fasta/colors.dart 2019-05-22 18:59:58.267004322 +0000 -+++ src.mod/sdk/pkg/front_end/lib/src/fasta/colors.dart 2019-05-22 19:19:14.722850300 +0000 -@@ -154,7 +154,7 @@ - // The `-S` option of `tput` allows us to query multiple capabilities at - // once. - ProcessResult result = Process.runSync( -- "/bin/sh", ["-c", "printf '%s' '$TERMINAL_CAPABILITIES' | tput -S"]); -+ "@TERMUX_PREFIX@/bin/sh", ["-c", "printf '%s' '$TERMINAL_CAPABILITIES' | tput -S"]); - - if (result.exitCode != 0) { - if (context.options.verbose) { -diff -uNr src/sdk/runtime/bin/process_patch.dart src.mod/sdk/runtime/bin/process_patch.dart ---- src/sdk/runtime/bin/process_patch.dart 2019-05-22 18:59:58.641006510 +0000 -+++ src.mod/sdk/runtime/bin/process_patch.dart 2019-05-22 19:15:52.594173281 +0000 -@@ -321,7 +321,7 @@ - if (Platform.isWindows) { - return 'cmd.exe'; - } -- return '/bin/sh'; -+ return '@TERMUX_PREFIX@/bin/sh'; - } - - static List _getShellArguments(