[MacPorts] #39849: llvm-3.3: error: '_CS_DARWIN_USER_TEMP_DIR' was not declared in this scope
MacPorts
noreply at macports.org
Wed Jul 24 08:10:22 PDT 2013
#39849: llvm-3.3: error: '_CS_DARWIN_USER_TEMP_DIR' was not declared in this scope
---------------------------+------------------------
Reporter: ryandesign@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords: tiger
Port: llvm-3.3 |
---------------------------+------------------------
Comment (by ccarey@…):
Neither {{{_CS_DARWIN_USER_TEMP_DIR}}} nor {{{_CS_DARWIN_USER_CACHE_DIR}}}
are defined in {{{<unistd.h>}}} in PPC Tiger. The simplest fix might be to
change line 499 of {{{lib/support/PathV2.cpp}}} from
{{{
#ifdef __APPLE__
}}}
to
{{{
#if defined(__APPLE__) && defined(_CS_DARWIN_USER_TEMP_DIR) &&
defined(_CS_DARWIN_USER_CACHE_DIR)
}}}
That change should allow PPC Tiger to use the non-Apple fallbacks in lines
520 through 544.
--
Ticket URL: <https://trac.macports.org/ticket/39849#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list