[MacPorts] #64349: ruby31: error: use of undeclared identifier 'MAP_ANONYMOUS'
MacPorts
noreply at macports.org
Mon Jan 3 12:21:58 UTC 2022
#64349: ruby31: error: use of undeclared identifier 'MAP_ANONYMOUS'
------------------------+----------------------
Reporter: ryandesign | Owner: kimuraw
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: ruby31
------------------------+----------------------
https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/166925/steps
/install-port/logs/stdio
{{{
gc.c:11141:88: error: use of undeclared identifier 'MAP_ANONYMOUS'
char *ptr = mmap(NULL, alignment + size, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
^
1 error generated.
}}}
On old systems, `MAP_ANONYMOUS` was called `MAP_ANON`. If the developers
don't want to add support for this, the legacy support portgroup could be
used.
--
Ticket URL: <https://trac.macports.org/ticket/64349>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list