pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/boost boost: Fix threading with clang on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c9b20ff7679
branches:  trunk
changeset: 374563:2c9b20ff7679
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jan 25 12:33:49 2018 +0000

description:
boost: Fix threading with clang on SunOS.

diffstat:

 meta-pkgs/boost/distinfo                                        |   3 +-
 meta-pkgs/boost/patches/patch-boost_config_platform_solaris.hpp |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r b6add5d7d9a9 -r 2c9b20ff7679 meta-pkgs/boost/distinfo
--- a/meta-pkgs/boost/distinfo  Thu Jan 25 11:42:53 2018 +0000
+++ b/meta-pkgs/boost/distinfo  Thu Jan 25 12:33:49 2018 +0000
@@ -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_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 -r b6add5d7d9a9 -r 2c9b20ff7679 meta-pkgs/boost/patches/patch-boost_config_platform_solaris.hpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/boost/patches/patch-boost_config_platform_solaris.hpp   Thu Jan 25 12:33:49 2018 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index