Hello community,

here is the log from the commit of package boost for openSUSE:Factory checked 
in at 2015-02-27 11:08:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/boost (Old)
 and      /work/SRC/openSUSE:Factory/.boost.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "boost"

Changes:
--------
--- /work/SRC/openSUSE:Factory/boost/boost.changes      2014-12-06 
13:45:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.boost.new/boost.changes 2015-02-27 
11:08:13.000000000 +0100
@@ -1,0 +2,8 @@
+Mon Feb 23 13:22:31 UTC 2015 - [email protected]
+
+- Use $RPM_OPT_FLAGS for building, force use of the GCC toolset.
+  Be more verbose and fail building with the first error.
+- Add boost-gcc5.patch to use -std=c++11 when building the coroutines
+  module which fixes build with GCC 5.
+
+-------------------------------------------------------------------

New:
----
  boost-gcc5.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ boost.spec ++++++
--- /var/tmp/diff_new_pack.HvbFBM/_old  2015-02-27 11:08:16.000000000 +0100
+++ /var/tmp/diff_new_pack.HvbFBM/_new  2015-02-27 11:08:16.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package boost
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -88,6 +88,7 @@
 Patch5:         boost-strict_aliasing.patch
 Patch6:         boost-use_std_xml_catalog.patch
 Patch7:         bjam-alignment.patch
+Patch8:         boost-gcc5.patch
 BuildRequires:  chrpath
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
@@ -408,6 +409,7 @@
 %patch5
 %patch6 -p1
 %patch7 -p1
+%patch8
 #stupid build machinery copies .orig files
 find . -name \*.orig -exec rm {} +
 
@@ -469,11 +471,19 @@
 # see also: https://svn.boost.org/trac/boost/ticket/9304
 ./bootstrap.sh $LIBRARIES_FLAGS \
     --prefix=%{_prefix} --exec-prefix=%{_bindir} \
-    --libdir=%{_libdir} --includedir=%{_includedir}
+    --libdir=%{_libdir} --includedir=%{_includedir} \
+    --with-toolset=gcc
 
 # add specific wishes in user-config.jam
-%if %build_docs
 cat << EOF >user-config.jam
+import os ;
+local RPM_OPT_FLAGS = [ os.environ RPM_OPT_FLAGS ] ;
+
+using gcc : : : <compileflags>\$(RPM_OPT_FLAGS) ;
+EOF
+
+%if %build_docs
+cat << EOF >>user-config.jam
 using xsltproc ;
 
 using boostbook
@@ -492,7 +502,7 @@
 %endif
 
 # perform the compilation
-./b2 --prefix=%{_prefix} --libdir=%{_libdir} --user-config=./user-config.jam
+./b2 -d+2 -q --prefix=%{_prefix} --libdir=%{_libdir} 
--user-config=./user-config.jam
 
 %if %build_docs
 cd doc


++++++ boost-gcc5.patch ++++++
Index: libs/coroutine/build/Jamfile.v2
===================================================================
--- libs/coroutine/build/Jamfile.v2.orig        2014-07-09 19:45:23.000000000 
+0200
+++ libs/coroutine/build/Jamfile.v2     2015-02-23 14:30:47.673766402 +0100
@@ -24,6 +24,7 @@ project boost/coroutine
       <toolset>gcc-4.9,<segmented-stacks>on:<linkflags>"-static-libgcc"
       <toolset>clang-3.4,<segmented-stacks>on:<cxxflags>-fsplit-stack
       <toolset>clang-3.4,<segmented-stacks>on:<linkflags>"-static-libgcc"
+      <toolset>gcc:<cxxflags>-std=c++11
       <link>shared:<define>BOOST_COROUTINES_DYN_LINK=1
       <define>BOOST_COROUTINES_SOURCE
     : usage-requirements
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to