From e2f5ae3f3389c4d794b5c032a8b3945849d6869a Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 25 Oct 2019 01:46:25 +0300 Subject: [PATCH] nim: update to 1.0.2 --- packages/nim/build.sh | 5 ++--- packages/nim/installer.ini.patch | 23 -------------------- packages/nim/posix.nim.patch.beforehostbuild | 11 ---------- 3 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 packages/nim/installer.ini.patch delete mode 100644 packages/nim/posix.nim.patch.beforehostbuild diff --git a/packages/nim/build.sh b/packages/nim/build.sh index 663dbb6f1..7f316b500 100644 --- a/packages/nim/build.sh +++ b/packages/nim/build.sh @@ -1,10 +1,9 @@ TERMUX_PKG_HOMEPAGE=https://nim-lang.org/ TERMUX_PKG_DESCRIPTION="Nim programming language compiler" TERMUX_PKG_LICENSE="MIT" -TERMUX_PKG_VERSION=0.20.2 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION=1.0.2 TERMUX_PKG_SRCURL=https://nim-lang.org/download/nim-$TERMUX_PKG_VERSION.tar.xz -TERMUX_PKG_SHA256=e1fa5c7e762a45535d82a961f88a6fc82e343985b780c3674081810e028d2b5e +TERMUX_PKG_SHA256=73a0ae099e1da39cc913c4a4054b5bf3d843ab93df95ffb98988a51074b651e6 TERMUX_PKG_DEPENDS="clang, git, libandroid-glob" TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_BUILD_IN_SRC=true diff --git a/packages/nim/installer.ini.patch b/packages/nim/installer.ini.patch deleted file mode 100644 index deefd8475..000000000 --- a/packages/nim/installer.ini.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -uNr nim-0.20.0/compiler/installer.ini nim-0.20.0.mod/compiler/installer.ini ---- nim-0.20.0/compiler/installer.ini 2019-06-06 22:33:02.000000000 +0300 -+++ nim-0.20.0.mod/compiler/installer.ini 2019-06-08 02:16:49.950336896 +0300 -@@ -5,17 +5,8 @@ - Name: "Nim" - Version: "$version" - Platforms: """ -- windows: i386;amd64 -- linux: i386;alpha;amd64;powerpc64;arm;sparc;sparc64;m68k;mips;mipsel;mips64;mips64el;powerpc;powerpc64el;arm64;riscv64 -- macosx: i386;amd64;powerpc64 -- solaris: i386;amd64;sparc;sparc64 -- freebsd: i386;amd64 -- netbsd: i386;amd64 -- openbsd: i386;amd64 -- dragonfly: i386;amd64 -- haiku: i386;amd64 -- android: i386;arm;arm64 -- nintendoswitch: arm64 -+ linux: i386;amd64;arm;arm64 -+ android: i386;amd64;arm;arm64 - """ - - Authors: "Andreas Rumpf" diff --git a/packages/nim/posix.nim.patch.beforehostbuild b/packages/nim/posix.nim.patch.beforehostbuild deleted file mode 100644 index f49c61202..000000000 --- a/packages/nim/posix.nim.patch.beforehostbuild +++ /dev/null @@ -1,11 +0,0 @@ ---- ./lib/posix/posix.a.nim 2018-11-20 22:08:36.965187234 +0000 -+++ ./lib/posix/posix.nim 2018-11-20 22:07:25.911639450 +0000 -@@ -92,7 +92,7 @@ - - # Platform specific stuff - --when defined(linux) and defined(amd64): -+when defined(linux) and defined(amd64) and not defined(android): - include posix_linux_amd64 - elif defined(nintendoswitch): - include posix_nintendoswitch