diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-15 02:01:54 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-03-15 02:02:35 +0100 |
commit | a243b98556b3e833b16a3019d23910d0cee86720 (patch) | |
tree | e906bb6f121af8beaf5f8e84902a7f00a6917a3a /testing/racket/musl-fixes.patch | |
parent | 400f7e2a41814ceddd45ccd354808a9971673296 (diff) | |
download | aports-a243b98556b3e833b16a3019d23910d0cee86720.tar.bz2 aports-a243b98556b3e833b16a3019d23910d0cee86720.tar.xz |
testing/racket: new aport
https://racket-lang.org/
A general purpose programming language in the Lisp-Scheme family
Diffstat (limited to 'testing/racket/musl-fixes.patch')
-rw-r--r-- | testing/racket/musl-fixes.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/racket/musl-fixes.patch b/testing/racket/musl-fixes.patch new file mode 100644 index 0000000000..32eaad0c54 --- /dev/null +++ b/testing/racket/musl-fixes.patch @@ -0,0 +1,26 @@ +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 |