Opened 2 years ago

Last modified 20 months ago

#64195 assigned defect

ngs: malloc.c:22:87: error: use of undeclared identifier 'MAP_ANONYMOUS'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: mavericks Cc:
Port: ngs

Description

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.

Change History (1)

comment:1 Changed 20 months ago by barracuda156

Not to create a separate ticket: is pandoc required for ngs to function or only to build documentation? It introduces dependency on stack, which is currently broken for older OSs. If pandoc dependency is not essential, it makes sense perhaps to make it conditional, and fix building the port for PPC and older Intel.

Note: See TracTickets for help on using tickets.