[MacPorts] #64195: ngs: malloc.c:22:87: error: use of undeclared identifier 'MAP_ANONYMOUS'

MacPorts noreply at macports.org
Sun Dec 12 00:10:38 UTC 2021


#64195: ngs: malloc.c:22:87: error: use of undeclared identifier 'MAP_ANONYMOUS'
------------------------+-------------------------
 Reporter:  ryandesign  |      Owner:  herbygillot
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.1
 Keywords:  mavericks   |       Port:  ngs
------------------------+-------------------------
 https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/169800/steps
 /install-port/logs/stdio
 {{{
 malloc.c:22:87: error: use of undeclared identifier 'MAP_ANONYMOUS'
 }}}
 On older systems, `MAP_ANONYMOUS` was called `MAP_ANON`. You could add a
 simple:
 {{{
 #ifndef MAP_ANONYMOUS
 #define MAP_ANONYMOUS MAP_ANON
 #endif
 }}}
 Or I think legacysupport might do it for you too.

-- 
Ticket URL: <https://trac.macports.org/ticket/64195>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list