nim: update to 1.0.2

This commit is contained in:
Leonid Pliushch 2019-10-25 01:46:25 +03:00
parent 265bc56c6f
commit e2f5ae3f33
3 changed files with 2 additions and 37 deletions

View File

@ -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

View File

@ -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"

View File

@ -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