Package: scm / 5f3-4

disable-bigrecy.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Göran Weinholt <goran@weinholt.se>
Date: Sun, 27 Nov 2022 12:49:35 +0100
Subject: Disable bigrecy()

This patch yet again disables bigrecy(). Some call to this function
causes build failures on armhf, armel and mipsel.

Forwarded: no
---

diff --git a/scl.c b/scl.c
index a572557..8d8026c 100644
--- a/scl.c
+++ b/scl.c
@@ -133,12 +133,14 @@ void strrecy(str)
 void bigrecy(bgnm)
      SCM bgnm;
 {
+#if 0
   if (IMP(bgnm) || !BIGP(bgnm)) return;
   DEFER_INTS;
   must_free(CHARS(bgnm), (sizet)NUMDIGS(bgnm)*sizeof(BIGDIG));
   CAR(bgnm) = INUM0;
   CDR(bgnm) = INUM0;
   ALLOW_INTS;
+#endif
 }

 /* can convert to string accurately with bignums */