summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-03-16 04:40:25 +0000
committerryoon <ryoon@pkgsrc.org>2014-03-16 04:40:25 +0000
commit397f779be646993410883490073f3cf0e0e8d04f (patch)
treefe27a8d3d885f286e2f2cf43e2b8d4dc50e3c135 /meta-pkgs/boost
parent04646ff0f647be13a5be3e07c12b29dc05d79b45 (diff)
downloadpkgsrc-397f779be646993410883490073f3cf0e0e8d04f.tar.gz
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 (limited to 'meta-pkgs/boost')
-rw-r--r--meta-pkgs/boost/distinfo3
-rw-r--r--meta-pkgs/boost/patches/patch-boost_config_stdlib_libstdcpp3.hpp18
2 files changed, 20 insertions, 1 deletions
diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo
index 0e42dc65a90..b53e3cde894 100644
--- a/meta-pkgs/boost/distinfo
+++ b/meta-pkgs/boost/distinfo
@@ -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-ar) = 2fec2c51272cc4ee376e6538d8f1fd8561a7f0a3
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 --git a/meta-pkgs/boost/patches/patch-boost_config_stdlib_libstdcpp3.hpp b/meta-pkgs/boost/patches/patch-boost_config_stdlib_libstdcpp3.hpp
new file mode 100644
index 00000000000..9ca2890df7e
--- /dev/null
+++ b/meta-pkgs/boost/patches/patch-boost_config_stdlib_libstdcpp3.hpp
@@ -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