From 3022751b817e0b6b384d94a90ac03778b39a37b5f6c8c6a9c7a619afcbc6c573 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Mon, 20 Jun 2016 17:41:57 +0000 Subject: [PATCH] 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 --- libtorrent-rasterbar.changes | 7 +++++++ libtorrent-rasterbar.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libtorrent-rasterbar.changes b/libtorrent-rasterbar.changes index f01f929..8664bce 100644 --- a/libtorrent-rasterbar.changes +++ b/libtorrent-rasterbar.changes @@ -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 diff --git a/libtorrent-rasterbar.spec b/libtorrent-rasterbar.spec index 57ba5d0..06c7cb2 100644 --- a/libtorrent-rasterbar.spec +++ b/libtorrent-rasterbar.spec @@ -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