1
0

Accepting request 403736 from home:alois:branches:devel:libraries:c_c++

Fixes build of network:qbittorrent.

OBS-URL: https://build.opensuse.org/request/show/403736
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=60
This commit is contained in:
Alexei Sorokin 2016-06-20 17:41:57 +00:00 committed by Git OBS Bridge
parent 38c0b646f8
commit 3022751b81
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 20 12:24:04 UTC 2016 - aloisio@gmx.com
- Updated version requirement for boost-devel
and added -std=c++11 in CXXFLAGS to address
a build problem with qbittorrent 3.3.5
-------------------------------------------------------------------
Mon Jun 6 10:18:43 UTC 2016 - sor.alexei@meowr.ru

View File

@ -32,7 +32,7 @@ Source: https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{
Patch0: %{name}-1.1.0-remove-x86-only-flag.patch
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-1.1.0-fix-invalid-input-crash.patch boo#983228 -- Fix crash on invalid input in http_parser (commit 3624ce6).
Patch1: %{name}-1.1.0-fix-invalid-input-crash.patch
BuildRequires: boost-devel >= 1.47
BuildRequires: boost-devel >= 1.54
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: python-devel
@ -135,7 +135,7 @@ Documentation for the libtorrent-rasterbar package.
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
export CXXFLAGS="$CFLAGS -std=c++11"
export LDFLAGS="%{optflags} -lrt"
%global _configure ../configure