diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-01-25 12:33:49 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-01-25 12:33:49 +0000 |
commit | 62f4941ef8c452317c59be82450254b1b42b17a2 (patch) | |
tree | 56abe4fca6887065f043d17cf6e2ec121fecb7a3 | |
parent | e3b1365dac7b1929a42c15fb8a408e03a3ed06fd (diff) | |
download | pkgsrc-62f4941ef8c452317c59be82450254b1b42b17a2.tar.gz |
boost: Fix threading with clang on SunOS.
-rw-r--r-- | meta-pkgs/boost/distinfo | 3 | ||||
-rw-r--r-- | meta-pkgs/boost/patches/patch-boost_config_platform_solaris.hpp | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo index bc0d0c891d5..63a724dc0ab 100644 --- a/meta-pkgs/boost/distinfo +++ b/meta-pkgs/boost/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.112 2018/01/15 12:21:35 jperkin Exp $ +$NetBSD: distinfo,v 1.113 2018/01/25 12:33:49 jperkin Exp $ SHA1 (boost_1_66_0.tar.bz2) = b6b284acde2ad7ed49b44e856955d7b1ea4e9459 RMD160 (boost_1_66_0.tar.bz2) = ee5dafdfa49adf50a5333cef1f55dac4f70b4c14 @@ -10,6 +10,7 @@ SHA1 (patch-boost_atomic_detail_ops_gcc_sparc.hpp) = 6cd1b6fbb8659d7af8ecff63d45 SHA1 (patch-boost_config_detail_posix__features.hpp) = 7d310574e7020c79c8bfa87cff4db0a2edc5b0bc SHA1 (patch-boost_config_detail_suffix.hpp) = 12e22085e7c292b2451ea8bc581beaddcb936252 SHA1 (patch-boost_config_platform_bsd.hpp) = 234dfd1582dd62f0b149ee12aabcc1f1f602af97 +SHA1 (patch-boost_config_platform_solaris.hpp) = fae270ced994e8c343f75ea222706a02b1b81422 SHA1 (patch-boost_config_stdlib_libcpp.hpp) = d57ee228c9dfa43665d261e7423fd10122dfd1a7 SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = 52ebedd5e80b3a8c257eccb28cd2db76cb1ca01e SHA1 (patch-boost_core_noncopyable.hpp) = a693e5eda7fc303e1bd86ecfab40321d771af6fe diff --git a/meta-pkgs/boost/patches/patch-boost_config_platform_solaris.hpp b/meta-pkgs/boost/patches/patch-boost_config_platform_solaris.hpp new file mode 100644 index 00000000000..be7960a4017 --- /dev/null +++ b/meta-pkgs/boost/patches/patch-boost_config_platform_solaris.hpp @@ -0,0 +1,15 @@ +$NetBSD: patch-boost_config_platform_solaris.hpp,v 1.1 2018/01/25 12:33:49 jperkin Exp $ + +Fix threading with clang. + +--- boost/config/platform/solaris.hpp.orig 2018-01-25 11:41:29.424139830 +0000 ++++ boost/config/platform/solaris.hpp +@@ -19,7 +19,7 @@ + // + // pthreads don't actually work with gcc unless _PTHREADS is defined: + // +-#if defined(__GNUC__) && defined(_POSIX_THREADS) && !defined(_PTHREADS) ++#if defined(__GNUC__) && !defined(__clang__) && defined(_POSIX_THREADS) && !defined(_PTHREADS) + # undef BOOST_HAS_PTHREADS + #endif + |