ports/lang/mit-scheme/files/patch-microcode_ux.c
Jimmy Olgeni 1735ec5320 Upgrade to version 9.1.1, with amd64 support.
The configure script is not able to detect some functions from
fenv.h, possibly because it does not use "#pragma STDC FENV_ACCESS ON",
which is used in the actual code. If you know of a way to make
configure work without hacking config.h.in, suggestions are welcome.
2013-01-12 16:58:37 +00:00

16 lines
425 B
C

$FreeBSD$
--- microcode/ux.c.orig
+++ microcode/ux.c
@@ -785,9 +785,7 @@
unsigned long min_result,
unsigned long max_result)
{
- void * addr = (mmap_heap_malloc_try (min_result, request, true));
- if (addr == 0)
- addr = (mmap_heap_malloc_try (min_result, request, false));
+ void * addr = (mmap_heap_malloc_try (min_result, request, false));
return addr;
}