pkgsrc/meta-pkgs/boost/patches/patch-boost_config_stdlib_libstdcpp3.hpp
adam c5e52167ae Changes 1.58.0:
* New Libraries:
  - Endian: Types and conversion functions for correct byte ordering and more regardless of processor endianness.
  - Sort: Includes spreadsort, a general-case hybrid radix sort that is faster than O(n*log(n))
* Updated Libraries:
2015-04-17 14:04:47 +00:00

16 lines
628 B
C++

$NetBSD: patch-boost_config_stdlib_libstdcpp3.hpp,v 1.2 2015/04/17 14:04:47 adam Exp $
* Fix build under NetBSD with GCC 4.8.3 in base.
GCC 4.8.3 does not define _GLIBCXX_HAVE_GTHR_DEFAULT
in /usr/include/g++/bits/c++config.h.
--- boost/config/stdlib/libstdcpp3.hpp.orig 2015-03-24 18:27:48.000000000 +0000
+++ boost/config/stdlib/libstdcpp3.hpp
@@ -37,6 +37,7 @@
|| defined(_GLIBCXX_HAS_GTHREADS) \
|| defined(_WIN32) \
|| defined(_AIX) \
+ || defined(__NetBSD__) \
|| defined(__HAIKU__)
//
// If the std lib has thread support turned on, then turn it on in Boost