aports/community/chez-scheme/0003-mats-disable-the-iconv-tests.patch
2023-05-07 12:51:40 +00:00

26 lines
832 B
Diff

From 90a05c623c091e19b4780ef9cb43ea05532b1cd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 7 May 2023 06:10:18 +0200
Subject: [PATCH] mats: disable the iconv tests
They are incompatible with musl's iconv implementation relying on
encodings that are not supported by musl libc et cetera.
---
mats/io.ms | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mats/io.ms b/mats/io.ms
index 38d1a4c..809b58b 100644
--- a/mats/io.ms
+++ b/mats/io.ms
@@ -534,7 +534,8 @@
1)
)
-(if (embedded?)
+;; Disable iconv tests on musl due to shortcoming of its iconv implementation.
+(if #t
(mat iconv-codec
(error? (errorf 'iconv-codec "-73 is not a string"))
(error? (errorf 'transcoded-port "unsupported encoding almost certainly bogus"))