[packages/boost] - pl for -fiber - use -std=c++11, so fiber is built also with gcc < 6

qboosh qboosh at pld-linux.org
Sat Apr 22 22:44:33 CEST 2017


commit 51b5b96e198ea6a0862688781d1c5a68c83f6bad
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 22 22:44:26 2017 +0200

    - pl for -fiber
    - use -std=c++11, so fiber is built also with gcc < 6

 boost.spec | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/boost.spec b/boost.spec
index e8db6d4..71367ed 100644
--- a/boost.spec
+++ b/boost.spec
@@ -34,7 +34,7 @@ URL:		http://www.boost.org/
 BuildRequires:	bzip2-devel
 BuildRequires:	expat-devel
 BuildRequires:	libicu-devel
-BuildRequires:	libstdc++-devel
+BuildRequires:	libstdc++-devel >= 6:4.7
 BuildRequires:	perl-base
 %if %{with python}
 BuildRequires:	python-devel >= 2.2
@@ -46,7 +46,6 @@ BuildRequires:	python3-devel
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	zlib-devel
-BuildConflicts:	gcc = 5:3.3.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		specflags	-DBOOST_IOSTREAMS_USE_DEPRECATED=1
@@ -93,7 +92,7 @@ Requires:	%{name}-test = %{version}-%{release}
 Requires:	%{name}-thread = %{version}-%{release}
 Requires:	%{name}-timer = %{version}-%{release}
 Requires:	%{name}-wave = %{version}-%{release}
-Requires:	libstdc++-devel
+Requires:	libstdc++-devel >= 6:4.7
 Obsoletes:	boost-any-devel
 Obsoletes:	boost-array-devel
 Obsoletes:	boost-asio
@@ -298,6 +297,7 @@ Zbiór bibliotek daty-czasu.
 
 %package fiber
 Summary:	A framework for micro-/userland-threads (fibers) scheduled cooperatively
+Summary(pl.UTF-8):	Szkielet mikrowątków przestrzeni użytkownika (fibers), szeregowanych kooperacyjnie
 Group:		Libraries
 
 %description fiber
@@ -305,6 +305,11 @@ boost::fiber provides a framework for micro-/userland-threads (fibers)
 scheduled cooperatively. The API contains classes and functions
 to manage and synchronize fibers similiar to boost.thread.
 
+%description fiber -l pl.UTF-8
+boost::fiber to szkielt mikrowątków przestrzeni użytkownika (fibers)
+szeregowanych kooperacyjnie. API zawiera klasy i funkcje służące do
+zarządzania i synchronizacji wątków podobne do boost.thread.
+
 %package filesystem
 Summary:	Portable paths, iteration over directories, and other useful filesystem operations
 Summary(pl.UTF-8):	Przenośne ścieżki, iteracje katalogów i inne użyteczne operacje na systemie plików
@@ -488,7 +493,7 @@ Dokumentacja dla biblioteki Boost C++.
 %patch221 -p1
 
 cat << EOF > tools/build/src/user-config.jam
-using gcc : %{cxx_version} : %{__cxx} : <cflags>"%{rpmcflags} -fPIC" <cxxflags>"%{rpmcxxflags} -fPIC" <linkflags>"%{rpmldflags}" ;
+using gcc : %{cxx_version} : %{__cxx} : <cflags>"%{rpmcflags} -fPIC" <cxxflags>"%{rpmcxxflags} -std=c++11 -fPIC" <linkflags>"%{rpmldflags}" ;
 EOF
 
 # cleanup backups after patching
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/boost.git/commitdiff/51b5b96e198ea6a0862688781d1c5a68c83f6bad



More information about the pld-cvs-commit mailing list