[MacPorts] #60624: freeimage build failure - 'posix_memalign' was not declared in this scope
MacPorts
noreply at macports.org
Tue Jun 9 12:25:28 UTC 2020
#60624: freeimage build failure - 'posix_memalign' was not declared in this scope
-------------------------------+--------------------------------------
Reporter: programmingkidx | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: freeimage posix_memalign
Port: Freeimage 3.18.0 |
-------------------------------+--------------------------------------
Comment (by kencu):
hello again. {{{posix_memalign}}} is one of the common functios replaced
by the {{{legacy-support}}} system -- in fact, was one of the very first
ones I added. <https://github.com/macports/macports-legacy-support>
To add it to a port's build is quite easy. You add a single line to the
Portfile, and that usually fixes it, like this:
<https://github.com/macports/macports-
ports/blob/53165cdc831872f370fbd8374480986fd640cd04/devel/libuv/Portfile#L5>.
to edit the portfile, you find it with
{{{
port file freeimage
}}}
and then edit it with some editor you like.
Please report back if that works. If it does work, and you want to make a
PR, that would be extremely great.
--
Ticket URL: <https://trac.macports.org/ticket/60624#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list