crystal: update to 1.18.0

This commit is contained in:
Quinton Miller 2025-10-15 05:45:36 +08:00 committed by Dirk Stolle
parent d93a1f6d16
commit 6ad57e983e
2 changed files with 4 additions and 10 deletions

View File

@ -1,3 +1 @@
crystal
001-support-llvm-20.patch
002-fix-llvm-version-detection.patch

View File

@ -4,8 +4,8 @@ _bootstrap=1
_realname=crystal
pkgbase="mingw-w64-${_realname}"
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.17.1
pkgrel=3
pkgver=1.18.0
pkgrel=1
pkgdesc="Fast and statically typed, compiled language with Ruby-like syntax (mingw-w64)"
arch=('any')
mingw_arch=('ucrt64' 'mingw64' 'clang64' 'clangarm64')
@ -38,10 +38,8 @@ makedepends=(
checkdepends=(
"${MINGW_PACKAGE_PREFIX}-lld" # needed for linking std_spec
)
source=("${_realname}::git+${msys2_repository_url}.git#tag=${pkgver}"
001-support-llvm-21.patch::https://github.com/crystal-lang/crystal/commit/0e3757ed.patch)
sha256sums=('d1ed70a897be8820b035e28a48bec678006d5981523318a60f12642227575f11'
'709eba34759b1385b01f7fa51a42989edb41cd218b872b4acef8aa134f1bb226')
source=("${_realname}::git+${msys2_repository_url}.git#tag=${pkgver}")
sha256sums=('bf3e91b56b438098faa2d0cb8adfe6fc79d9d241254aa09e287320a2d0037a2e')
if (( _bootstrap )); then
# stage 0 compiler
@ -61,8 +59,6 @@ prepare() {
git config core.symlinks true &&
MSYS='winsymlinks:nativestrict' git restore --source=HEAD :/
fi
patch -p1 -i "${srcdir}"/001-support-llvm-21.patch
}
build() {