mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 23:20:30 -04:00
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.
16 lines
425 B
C
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;
|
|
}
|
|
|