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 libboost_fiber build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e1fcb6e96e0
branches:  trunk
changeset: 359410:9e1fcb6e96e0
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Mar 09 16:30:12 2017 +0000

description:
Fix libboost_fiber build on SunOS.

diffstat:

 meta-pkgs/boost/distinfo                                  |   3 ++-
 meta-pkgs/boost/patches/patch-libs_fiber_build_Jamfile.v2 |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r c1d980287a29 -r 9e1fcb6e96e0 meta-pkgs/boost/distinfo
--- a/meta-pkgs/boost/distinfo  Thu Mar 09 13:54:43 2017 +0000
+++ b/meta-pkgs/boost/distinfo  Thu Mar 09 16:30:12 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.95 2017/01/03 02:31:36 wiz Exp $
+$NetBSD: distinfo,v 1.96 2017/03/09 16:30:12 jperkin Exp $
 
 SHA1 (boost-1.63.0v3/boost_1_63_0.tar.bz2) = 9f1dd4fa364a3e3156a77dc17aa562ef06404ff6
 RMD160 (boost-1.63.0v3/boost_1_63_0.tar.bz2) = 9781b51fcf1919b98ef3356af988fd8a73e7accb
@@ -21,3 +21,4 @@
 SHA1 (patch-boost_regex_config.hpp) = 6b752c7c23168c591cd391739c7a4539bef44c12
 SHA1 (patch-libs_config_configure) = e2f204d4fa4f1bd9b4131d28f9be0a1ac22bf711
 SHA1 (patch-libs_config_test_boost__no__range__based__for.ipp) = d9936c472fc2c696d86522b36eb12813ae91bee4
+SHA1 (patch-libs_fiber_build_Jamfile.v2) = 28c1aba2d074f2db7104e37cd900d33f5fcffb09
diff -r c1d980287a29 -r 9e1fcb6e96e0 meta-pkgs/boost/patches/patch-libs_fiber_build_Jamfile.v2
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/boost/patches/patch-libs_fiber_build_Jamfile.v2 Thu Mar 09 16:30:12 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-libs_fiber_build_Jamfile.v2,v 1.1 2017/03/09 16:30:12 jperkin Exp $
+
+Build with -fvisibility=hidden on SunOS.
+
+--- libs/fiber/build/Jamfile.v2.orig   2017-03-09 15:52:54.326169384 +0000
++++ libs/fiber/build/Jamfile.v2
+@@ -18,6 +18,7 @@ project boost/fiber
+       <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
+       <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
+       <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
++      <target-os>solaris:<cxxflags>-fvisibility=hidden
+       <link>shared:<define>BOOST_FIBERS_DYN_LINK=1
+       <define>BOOST_FIBERS_SOURCE
+       <threading>multi



Home | Main Index | Thread Index | Old Index