[MacPorts] #53401: nodejs4 @4.7.2: error: no member named 'tr1' in namespace 'std'
MacPorts
noreply at macports.org
Sat Feb 11 11:20:16 UTC 2017
#53401: nodejs4 @4.7.2: error: no member named 'tr1' in namespace 'std'
------------------------+--------------------
Reporter: papachoco | Owner: ci42
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.5
Resolution: fixed | Keywords:
Port: nodejs4 |
------------------------+--------------------
Changes (by ryandesign):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"5ea23e31eee57e0fe1a8b481803e62de423bba1f/macports-ports"
5ea23e31/macports-ports]:
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="5ea23e31eee57e0fe1a8b481803e62de423bba1f"
nodejs4: Fix build with libc++
nodejs4 originally assumed all versions of macOS use tr1. This is not
true with libc++, which is the default on Mavericks and later.
The original patch was conditionally applied on Mavericks and later. It
removed the use of tr1 in one place, but not in another place, so the
build failed on Mavericks and later, and presumably on earlier systems
configured to use libc++.
nodejs6 contains preprocessor directives that avoids using tr1 on
Mavericks and later. This would presumably still fail on earlier systems
configured to use libc++.
This new patch avoids tr1 when libc++ is in use, regardless of macOS
version, and is unconditionally applied.
Closes: https://trac.macports.org/ticket/53401
}}}
--
Ticket URL: <https://trac.macports.org/ticket/53401#comment:24>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list