pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/meta-pkgs/boost Fix build under NetBSD with GCC 4.8.3 ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bf006b25074f
branches: trunk
changeset: 632108:bf006b25074f
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Mar 16 04:40:25 2014 +0000
description:
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.
diffstat:
meta-pkgs/boost/distinfo | 3 +-
meta-pkgs/boost/patches/patch-boost_config_stdlib_libstdcpp3.hpp | 18 ++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 8fa94fda11a4 -r bf006b25074f meta-pkgs/boost/distinfo
--- a/meta-pkgs/boost/distinfo Sun Mar 16 01:36:51 2014 +0000
+++ b/meta-pkgs/boost/distinfo Sun Mar 16 04:40:25 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.62 2014/02/21 20:22:08 joerg Exp $
+$NetBSD: distinfo,v 1.63 2014/03/16 04:40:25 ryoon Exp $
SHA1 (boost_1_55_0.tar.bz2) = cef9a0cc7084b1d639e06cd3bc34e4251524c840
RMD160 (boost_1_55_0.tar.bz2) = de8ef647933a005119425326b59723aad4a6fd4f
@@ -14,6 +14,7 @@
SHA1 (patch-boost_archive_iterators_transform__width.hpp) = 5c08bac63fcc259997a8cf6fac1684f45ef7cd1a
SHA1 (patch-boost_asio_detail_config.hpp) = b95ca6b0bb6c805624cb81c91c3f1b691a7425ca
SHA1 (patch-boost_config_stdlib_libcpp.hpp) = d243325d3aeb180e4ed7a1fd7d89782d832fa9fc
+SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = e26873092e79a4b9c254178cc2cf3121f89cfec2
SHA1 (patch-boost_math_tools_config.hpp) = 81402bc38dc858d0818ed91e204966c8382be4ff
SHA1 (patch-boost_noncopyable.hpp) = 6567b5932c6bb48e8b2fcae48ff47e0f230fc1b9
SHA1 (patch-libs_config_configure) = e2f204d4fa4f1bd9b4131d28f9be0a1ac22bf711
diff -r 8fa94fda11a4 -r bf006b25074f meta-pkgs/boost/patches/patch-boost_config_stdlib_libstdcpp3.hpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/boost/patches/patch-boost_config_stdlib_libstdcpp3.hpp Sun Mar 16 04:40:25 2014 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-boost_config_stdlib_libstdcpp3.hpp,v 1.1 2014/03/16 04:40:25 ryoon 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 2014-03-08 14:33:38.000000000 +0000
++++ boost/config/stdlib/libstdcpp3.hpp
+@@ -36,7 +36,8 @@
+ || defined(_GLIBCXX__PTHREADS) \
+ || defined(_GLIBCXX_HAS_GTHREADS) \
+ || defined(_WIN32) \
+- || defined(_AIX)
++ || defined(_AIX) \
++ || defined(__NetBSD__)
+ //
+ // If the std lib has thread support turned on, then turn it on in Boost
+ // as well. We do this because some gcc-3.4 std lib headers define _REENTANT
Home |
Main Index |
Thread Index |
Old Index