aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/SetUnpackColormapCompat.cpp
diff options
context:
space:
mode:
authorClemens Lang <cal@macports.org>2015-02-13 13:35:40 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-13 13:35:40 +0100
commitab8d1276f5c7ebef6f959cfb691cce5fff6867b4 (patch)
tree272d48e50599509e84672a423bfb88bda649e669 /nxcomp/SetUnpackColormapCompat.cpp
parent96d5e74a30ea8571c3e403bd5d5b3080aaa193f1 (diff)
downloadnx-libs-ab8d1276f5c7ebef6f959cfb691cce5fff6867b4.tar.gz
nx-libs-ab8d1276f5c7ebef6f959cfb691cce5fff6867b4.tar.bz2
nx-libs-ab8d1276f5c7ebef6f959cfb691cce5fff6867b4.zip
In Types.h, don't use STL internals on libc++ (605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full+lite.patch).
The nx-libs-lite package does not compile on OS X Mavericks because Apple's clang compilers now default to compiling against the libc++ STL rather than (their outdated copy of) libstdc++. While the compiler still allows changing that, we should not rely on this being possible forever. The compiler chokes in Types.h, specifically the clear() methods in subclasses of vectors that use implementation details of the GNU STL. The attached patch fixes these compilation issues by not overriding the clear() method when compiling against libc++, since the libc++ headers seem to do essentially the same as the overriden method.
Diffstat (limited to 'nxcomp/SetUnpackColormapCompat.cpp')
0 files changed, 0 insertions, 0 deletions