racket: update to 8.3.

This commit is contained in:
jgart 2021-11-18 23:45:09 -05:00 committed by Érico Nogueira Rolim
parent bf38224f7a
commit 349a8709e7
2 changed files with 2 additions and 28 deletions

View file

@ -1,26 +0,0 @@
This patch fixes error:
env XFORM_USE_PRECOMP=xsrc/precomp.h ../racketcgc -cqu ./xform.rkt --setup . --depends --cpp "gcc -E -I./.. -I./../include -I./../../rktio -I../../rktio -Os -fomit-frame-pointer -pthread -DUSE_SENORA_GC -DMZ_USES_SHARED_LIB " --keep-lines -o xsrc/future.c ./../src/future.c
Error [GCING] 234 in ./../src/bool.c: Function mz_long_double_eqv declared __xform_nongcing__, but includes a function call at __FLOAT_BITS.
Error [GCING] 270 in ./../src/bool.c: Function double_eqv declared __xform_nongcing__, but includes a function call at __FLOAT_BITS.
xform: Errors converting
context...:
src/racket/gc2/xform-collects/compiler/priva...:8:2: xform
src/racket/gc2/xform-collects/xform/xform-mo...: [running body]
src/racket/gc2/xform.rkt: [running body]
Resources:
* https://github.com/racket/racket/issues/1638
* https://github.com/NixOS/nixpkgs/pull/31017
* https://github.com/racket/racket/pull/1886
--- a/collects/compiler/private/xform.rkt
--- a/collects/compiler/private/xform.rkt
@@ -924,6 +924,7 @@
|GetStdHandle| |__CFStringMakeConstantString|
_vswprintf_c
malloc strdup
+ __FLOAT_BITS __DOUBLE_BITS ; musl
scheme_make_small_bignum scheme_make_small_rational scheme_make_small_complex))
(define non-functions-table

View file

@ -1,6 +1,6 @@
# Template file for 'racket'
pkgname=racket
version=8.2
version=8.3
revision=1
build_wrksrc=src
build_style=gnu-configure
@ -13,7 +13,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="LGPL-3.0-only, MIT"
homepage="http://racket-lang.org/"
distfiles="http://mirror.racket-lang.org/installers/${version}/${pkgname}-${version}-src.tgz"
checksum=a0f3cf72938e7ae0f4f3eab70360812a2ec4e40efe327f1b449feb447b4f7482
checksum=33dd0c20846c7c5fdf84af2dc250f765104ed33b5091be152a9f68f1e2541457
nostrip=yes
nocross=yes