File project.diff of Package boost

--- boost.changes.orig
+++ boost.changes
@@ -1,3 +1,4 @@
+
 -------------------------------------------------------------------
 Mon Mar  9 14:47:09 UTC 2015 - rneuhauser@suse.cz
 
@@ -31,6 +32,31 @@ Sat Sep 27 12:45:11 UTC 2014 - dmitry_r@
 - Fix aarch64 build
 
 -------------------------------------------------------------------
+Mon Sep 15 09:13:29 UTC 2014 - conrad@quisquis.de
+- Merged 1.56 from upstream
+
+-------------------------------------------------------------------
+Sun Sep  7 07:10:29 UTC 2014 - conrad@quisquis.de
+- Fixed executable stack problem
+- Fixed library dependencies
+- Fixed conditional build of context+coroutine
+- Fixed BuildReq for Fedora
+
+-------------------------------------------------------------------
+Sat Sep  6 21:27:29 UTC 2014 - conrad@quisquis.de
+- Another attempt to build coroutine shared lib
+- Mask Recommends header on non-SUSE
+
+-------------------------------------------------------------------
+Sat Sep  6 15:56:29 UTC 2014 - conrad@quisquis.de
+- Attempt to build coroutine shared lib
+- Suppress ppc64 specific patches on non-ppc64
+
+-------------------------------------------------------------------
+Sat Sep  6 13:34:29 UTC 2014 - conrad@quisquis.de
+- add boost_coroutine-devel-static package
+
+-------------------------------------------------------------------
 Thu Aug 14 15:06:49 UTC 2014 - dmitry_r@opensuse.org
 
 - Update to version 1.56.0. Major changes since 1.54.0:
--- boost.spec.orig
+++ boost.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package boost
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,7 +35,11 @@
 %ifarch ia64 hppa
 %define build_mpi 0
 %else
+%if 0%{?suse_version} > 0
 %define build_mpi 1
+%else
+%define build_mpi 0
+%endif
 %endif
 
 # context hasn't been ported to most architectures yet
@@ -93,7 +97,9 @@ Patch7:         bjam-alignment.patch
 Patch8:         boost-gcc5.patch
 BuildRequires:  chrpath
 BuildRequires:  dos2unix
+%if 0%{?suse_version} > 1020
 BuildRequires:  fdupes
+%endif
 BuildRequires:  gcc-c++
 BuildRequires:  libbz2-devel
 BuildRequires:  libexpat-devel
@@ -113,7 +119,9 @@ BuildRequires:  libxslt-tools
 BuildRequires:  texlive-latex
 %endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} > 0
 Recommends:     %{all_libs}
+%endif
 
 %define _docdir %{_datadir}/doc/packages/boost-%{version}
 
@@ -251,6 +259,7 @@ Requires:       boost-license%{lib_appen
 %description -n libboost_graph%{lib_appendix}
 This package contains the Boost::Graph Runtime libraries.
 
+%if %build_mpi
 %package     -n libboost_graph_parallel%lib_appendix
 Summary:        Boost graph::distributed runtime libraries
 Group:          System/Libraries
@@ -258,6 +267,7 @@ Requires:       boost-license%lib_append
 
 %description -n libboost_graph_parallel%lib_appendix
 This package contains the boost::graph::distributed runtime libraries.
+%endif
 
 %package     -n libboost_iostreams%{lib_appendix}
 Summary:        Boost::IOStreams Runtime Libraries
@@ -427,6 +437,12 @@ find -type f ! \( -name \*.sh -o -name \
 %patch8
 #stupid build machinery copies .orig files
 find . -name \*.orig -exec rm {} +
+#Allow shared build of coroutine
+%__sed -i '/link.static/d' libs/coroutine/build/Jamfile.v2
+#Resolve executable stack problem
+for i in libs/context/src/asm/*gas.S; do
+    echo '.section .note.GNU-stack,"",%%progbits' >>"$i"
+done
 
 %build
 find . -type f -exec chmod u+w {} +
@@ -479,8 +495,10 @@ EOF
 # Read shared build instructions
 . ./.build
 
+%if %build_mpi
 # Set PATH, MANPATH and LD_LIBRARY_PATH for mpi
 . /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh
+%endif
 
 # use supplied bootstrap.sh instead of mucking with old bjam
 # see also: https://svn.boost.org/trac/boost/ticket/9304
@@ -517,17 +535,27 @@ EOF
 %endif
 
 # perform the compilation
-./b2 -d+2 -q --prefix=%{_prefix} --libdir=%{_libdir} --user-config=./user-config.jam
-
+./b2 link=shared -d+2 -q --prefix=%{_prefix} --libdir=%{_libdir} \
+%if %build_mpi
+     --user-config=./user-config.jam
+%endif
 %if %build_quickbook
 pushd tools/quickbook
-../../b2 --user-config=../../user-config.jam --v2 dist-bin
+../../b2 link=shared \
+%if %build_mpi
+	--user-config=../../user-config.jam \
+%endif
+	--v2 dist-bin
 popd
 %endif
 
 %if %build_docs
 cd doc
-../b2 --user-config=../user-config.jam --v2 man
+../b2 \
+%if %build_mpi
+      --user-config=../user-config.jam \
+%endif
+      --v2 man
 %endif
 
 %install
@@ -535,13 +563,17 @@ cd doc
 # Read shared build instructions
 . ./.build
 
+%if %build_mpi
 # Set PATH, MANPATH and LD_LIBRARY_PATH for mpi
 . /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh
+%endif
 
-./b2 install \
+./b2 link=shared install \
     --prefix=%{buildroot}%{_prefix} --exec-prefix=%{buildroot}%{_bindir} \
     --libdir=%{buildroot}%{_libdir} --includedir=%{buildroot}%{_includedir} \
+%if %build_mpi
     --user-config=./user-config.jam
+%endif
 
 # do not install the python module - as long as noone needs it, it requires more fixes
 # see https://bugzilla.redhat.com/show_bug.cgi?id=801534 for details
@@ -592,8 +624,11 @@ ln -s ../LICENSE_1_0.txt %{buildroot}%{_
 find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} +
 chmod -x ../%{name}_%{short_version}_pdf/*.pdf
 rm -f %{buildroot}%{_libdir}/*.a
+#%%__mv libboost_coroutine.a %%{buildroot}%%{_libdir}
 #symlink dupes
+%if 0%{?suse_version} > 1020
 %fdupes %buildroot
+%endif
 
 %if %build_quickbook
 mkdir -p %{buildroot}%{_bindir}
@@ -626,7 +661,9 @@ install -m 0755 dist/bin/quickbook %{bui
 %post -n libboost_chrono%{lib_appendix} -p /sbin/ldconfig
 %post -n libboost_locale%{lib_appendix} -p /sbin/ldconfig
 %post -n libboost_timer%{lib_appendix} -p /sbin/ldconfig
+%if %build_mpi
 %post -n libboost_graph_parallel%{lib_appendix} -p /sbin/ldconfig
+%endif
 
 %postun -n libboost_atomic%{lib_appendix} -p /sbin/ldconfig
 %postun -n libboost_container%{lib_appendix} -p /sbin/ldconfig
@@ -654,7 +691,9 @@ install -m 0755 dist/bin/quickbook %{bui
 %postun -n libboost_chrono%{lib_appendix} -p /sbin/ldconfig
 %postun -n libboost_locale%{lib_appendix} -p /sbin/ldconfig
 %postun -n libboost_timer%{lib_appendix} -p /sbin/ldconfig
+%if %build_mpi
 %postun -n libboost_graph_parallel%{lib_appendix} -p /sbin/ldconfig
+%endif
 
 %files -n boost-license%{lib_appendix}
 %defattr(-, root, root, -)
@@ -692,9 +731,11 @@ install -m 0755 dist/bin/quickbook %{bui
 %defattr(-, root, root, -)
 %{_libdir}/libboost_graph.so.*
 
+%if %build_mpi
 %files -n libboost_graph_parallel%lib_appendix
 %defattr(-,root,root)
 %_libdir/libboost_graph_parallel.so.*
+%endif
 
 %files -n libboost_iostreams%{lib_appendix}
 %defattr(-, root, root, -)
@@ -778,12 +819,6 @@ install -m 0755 dist/bin/quickbook %{bui
 %doc %{_docdir}/*
 %exclude %{_docdir}/LICENSE_1_0.txt
 
-# %%files doc-man
-# %%defattr(644, root, root, -)
-# %%doc %%{_mandir}/man3/*.3.gz
-# %%doc %%{_mandir}/man7/*.7.gz
-# %%doc %%{_mandir}/man9/*.9.gz
-
 %if %package_pdf
 %files doc-pdf
 %defattr(-, root, root, -)
openSUSE Build Service is sponsored by