git: d926f772494f - main - lang/crystal: update to 1.2.2

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 28 Dec 2021 17:44:24 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d926f772494f184f24e52fc1d9749cd6b33bf22b

commit d926f772494f184f24e52fc1d9749cd6b33bf22b
Author:     Greg V <greg@unrelenting.technology>
AuthorDate: 2021-12-28 10:12:05 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2021-12-28 17:43:02 +0000

    lang/crystal: update to 1.2.2
    
    PR:     259923
    Reported by:    mohd.akram@outlook.com
---
 lang/crystal/Makefile  | 11 ++++++-----
 lang/crystal/distinfo  |  6 +++---
 lang/crystal/pkg-plist | 23 +++++++++++++++++------
 3 files changed, 26 insertions(+), 14 deletions(-)

diff --git a/lang/crystal/Makefile b/lang/crystal/Makefile
index 47c32dbee0e2..61bed580c744 100644
--- a/lang/crystal/Makefile
+++ b/lang/crystal/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=		crystal
-DISTVERSION=		1.1.1
+DISTVERSION=		1.2.2
 CATEGORIES=		lang
 MASTER_SITES=		https://dl.unrelenting.technology/crystal/:bootstrap
 DISTFILES=		${BOOTSTRAP_PATH}:bootstrap
@@ -17,8 +17,8 @@ ONLY_FOR_ARCHS_REASON=		requires prebuilt bootstrap compiler
 LIB_DEPENDS=	libgc-threaded.so:devel/boehm-gc-threaded \
 		libevent.so:devel/libevent \
 		libpcre.so:devel/pcre \
-		libLLVM-${LLVM_VERSION:C/^([6-9])0/\1/:S/-devel/12/}.so:devel/llvm${LLVM_VERSION}
-BUILD_DEPENDS=	${LOCALBASE}/bin/llvm-config${LLVM_VERSION}:devel/llvm${LLVM_VERSION} \
+		libLLVM-${LLVM_VERSION:C/^([6-9])0/\1/:S/-devel/14/}.so:devel/llvm${LLVM_VERSION}
+BUILD_DEPENDS=	${LOCALBASE}/bin/llvm-config${LLVM_VERSION}:devel/llvm${BOOTSTRAP_LLVM_VERSION} \
 		git:devel/git
 RUN_DEPENDS=	pkg-config:devel/pkgconf
 
@@ -27,8 +27,9 @@ USES=		compiler gmake pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	crystal-lang
 
-LLVM_VERSION=	10
-BOOTSTRAP_PATH=	crystal-${BOOTSTRAP_VER}-freebsd12-${ARCH}-llvm10
+LLVM_VERSION?=	10
+BOOTSTRAP_LLVM_VERSION=	10
+BOOTSTRAP_PATH=	crystal-${BOOTSTRAP_VER}-freebsd12-${ARCH}-llvm${BOOTSTRAP_LLVM_VERSION}
 BOOTSTRAP_VER?=	1.1.1
 
 MAKE_ARGS=	SHELL=sh \
diff --git a/lang/crystal/distinfo b/lang/crystal/distinfo
index c7794c6d5151..a556c9576048 100644
--- a/lang/crystal/distinfo
+++ b/lang/crystal/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1627561733
+TIMESTAMP = 1640645935
 SHA256 (crystal/crystal-1.1.1-freebsd12-amd64-llvm10) = bceb45f9d886cfbfac866761dcb954788156908d3a54e35f58c9e3f716cf91ed
 SIZE (crystal/crystal-1.1.1-freebsd12-amd64-llvm10) = 11997032
 SHA256 (crystal/crystal-1.1.1-freebsd12-aarch64-llvm10) = 51433c9cff796da1423e2a6d77c87891cd7ba4cee37ef25322b2e801aba2b53b
 SIZE (crystal/crystal-1.1.1-freebsd12-aarch64-llvm10) = 11093864
-SHA256 (crystal/crystal-lang-crystal-1.1.1_GH0.tar.gz) = add4b07f23de6e493a17d951e4cff38e1cbf2356cc4a3f642687c769f9ba7d12
-SIZE (crystal/crystal-lang-crystal-1.1.1_GH0.tar.gz) = 2477825
+SHA256 (crystal/crystal-lang-crystal-1.2.2_GH0.tar.gz) = 6d963a71ef5f6c73faa272a0f81b50e9ddbf814b1ec07e557ce5c95f84d6077e
+SIZE (crystal/crystal-lang-crystal-1.2.2_GH0.tar.gz) = 2621720
diff --git a/lang/crystal/pkg-plist b/lang/crystal/pkg-plist
index 93cdfe83cc9d..8446629d733c 100644
--- a/lang/crystal/pkg-plist
+++ b/lang/crystal/pkg-plist
@@ -113,6 +113,7 @@ lib/crystal/compiler/crystal/semantic/transformer.cr
 lib/crystal/compiler/crystal/semantic/type_declaration_processor.cr
 lib/crystal/compiler/crystal/semantic/type_declaration_visitor.cr
 lib/crystal/compiler/crystal/semantic/type_guess_visitor.cr
+lib/crystal/compiler/crystal/semantic/type_intersect.cr
 lib/crystal/compiler/crystal/semantic/type_lookup.cr
 lib/crystal/compiler/crystal/semantic/type_merge.cr
 lib/crystal/compiler/crystal/semantic/warnings.cr
@@ -150,11 +151,7 @@ lib/crystal/compiler/crystal/tools/doc/html/type.html
 lib/crystal/compiler/crystal/tools/doc/item.cr
 lib/crystal/compiler/crystal/tools/doc/macro.cr
 lib/crystal/compiler/crystal/tools/doc/main.cr
-lib/crystal/compiler/crystal/tools/doc/markdown/doc_renderer.cr
-lib/crystal/compiler/crystal/tools/doc/markdown/html_renderer.cr
-lib/crystal/compiler/crystal/tools/doc/markdown/markdown.cr
-lib/crystal/compiler/crystal/tools/doc/markdown/parser.cr
-lib/crystal/compiler/crystal/tools/doc/markdown/renderer.cr
+lib/crystal/compiler/crystal/tools/doc/markd_doc_renderer.cr
 lib/crystal/compiler/crystal/tools/doc/method.cr
 lib/crystal/compiler/crystal/tools/doc/project_info.cr
 lib/crystal/compiler/crystal/tools/doc/relative_location.cr
@@ -237,7 +234,8 @@ lib/crystal/crypto/blowfish.cr
 lib/crystal/crypto/subtle.cr
 lib/crystal/crystal/at_exit_handlers.cr
 lib/crystal/crystal/compiler_rt.cr
-lib/crystal/crystal/compiler_rt/mulodi4.cr
+lib/crystal/crystal/compiler_rt/divmod128.cr
+lib/crystal/crystal/compiler_rt/mul.cr
 lib/crystal/crystal/datum.cr
 lib/crystal/crystal/digest/md5.cr
 lib/crystal/crystal/digest/sha1.cr
@@ -313,9 +311,11 @@ lib/crystal/crystal/system/win32/hostname.cr
 lib/crystal/crystal/system/win32/mime.cr
 lib/crystal/crystal/system/win32/process.cr
 lib/crystal/crystal/system/win32/random.cr
+lib/crystal/crystal/system/win32/socket.cr
 lib/crystal/crystal/system/win32/thread.cr
 lib/crystal/crystal/system/win32/thread_mutex.cr
 lib/crystal/crystal/system/win32/time.cr
+lib/crystal/crystal/system/win32/windows_registry.cr
 lib/crystal/crystal/system/win32/zone_names.cr
 lib/crystal/crystal/system/windows.cr
 lib/crystal/crystal/thread_local_value.cr
@@ -355,6 +355,7 @@ lib/crystal/exception.cr
 lib/crystal/exception/call_stack.cr
 lib/crystal/exception/call_stack/dwarf.cr
 lib/crystal/exception/call_stack/elf.cr
+lib/crystal/exception/call_stack/libunwind.cr
 lib/crystal/exception/call_stack/mach_o.cr
 lib/crystal/exception/call_stack/null.cr
 lib/crystal/exception/lib_unwind.cr
@@ -415,6 +416,7 @@ lib/crystal/http/web_socket/close_code.cr
 lib/crystal/http/web_socket/protocol.cr
 lib/crystal/humanize.cr
 lib/crystal/indexable.cr
+lib/crystal/indexable/mutable.cr
 lib/crystal/ini.cr
 lib/crystal/int.cr
 lib/crystal/intrinsics.cr
@@ -431,6 +433,7 @@ lib/crystal/io/file_descriptor.cr
 lib/crystal/io/hexdump.cr
 lib/crystal/io/memory.cr
 lib/crystal/io/multi_writer.cr
+lib/crystal/io/overlapped.cr
 lib/crystal/io/sized.cr
 lib/crystal/io/stapled.cr
 lib/crystal/iterable.cr
@@ -931,17 +934,22 @@ lib/crystal/lib_c/x86_64-windows-msvc/c/errhandlingapi.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/errno.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/fcntl.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/fileapi.cr
+lib/crystal/lib_c/x86_64-windows-msvc/c/guiddef.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/handleapi.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/in6addr.cr
+lib/crystal/lib_c/x86_64-windows-msvc/c/inaddr.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/int_safe.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/io.cr
+lib/crystal/lib_c/x86_64-windows-msvc/c/ioapiset.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/libloaderapi.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/memoryapi.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/minwinbase.cr
+lib/crystal/lib_c/x86_64-windows-msvc/c/mswsock.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/ntsecapi.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/processenv.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/processthreadsapi.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/profileapi.cr
+lib/crystal/lib_c/x86_64-windows-msvc/c/regapix.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/stdarg.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/stddef.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/stdint.cr
@@ -958,6 +966,7 @@ lib/crystal/lib_c/x86_64-windows-msvc/c/win_def.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/winbase.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/windows.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/winnt.cr
+lib/crystal/lib_c/x86_64-windows-msvc/c/winreg.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/winsock2.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/ws2def.cr
 lib/crystal/lib_c/x86_64-windows-msvc/c/ws2ipdef.cr
@@ -1159,9 +1168,11 @@ lib/crystal/unicode/unicode.cr
 lib/crystal/union.cr
 lib/crystal/uri.cr
 lib/crystal/uri/encoding.cr
+lib/crystal/uri/json.cr
 lib/crystal/uri/params.cr
 lib/crystal/uri/punycode.cr
 lib/crystal/uri/uri_parser.cr
+lib/crystal/uri/yaml.cr
 lib/crystal/uuid.cr
 lib/crystal/uuid/json.cr
 lib/crystal/uuid/yaml.cr