#64349 closed defect (fixed)
ruby31: error: use of undeclared identifier 'MAP_ANONYMOUS'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | kimuraw (kimura wataru) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | ||
Port: | ruby31 |
Description
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.
Change History (5)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 3 years ago by kimuraw (kimura wataru)
thanks ryandesign, I'll apply the upstream fix.
comment:3 Changed 3 years ago by kimura wataru <kimuraw@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 3 years ago by evanmiller (Evan Miller)
This issue should be re-opened. See failing build:
https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/175231
It appears that this commit:
[fd327becf635c772aef1b1a2e3531e6afffe1dba/macports-ports]
deleted the patch, which apparently was not merged in time for 3.1.1.
Note: See
TracTickets for help on using
tickets.
I've reported it to the developers: https://bugs.ruby-lang.org/issues/18556