File: disable-bigrecy.patch

package info (click to toggle)
scm 5f4-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,320 kB
  • sloc: ansic: 58,822; lisp: 17,257; makefile: 1,241; sh: 555; asm: 288
file content (31 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (2)
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
30
31
From: Gwen Weinholt <weinholt@debian.org>
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
---
 scl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scl.c b/scl.c
index 2ec1d00..506cd6e 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 */