forked from pool/libtorrent-rasterbar
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:
committed by
Git OBS Bridge
parent
38c0b646f8
commit
3022751b81
@@ -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
|
Mon Jun 6 10:18:43 UTC 2016 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
@@ -32,7 +32,7 @@ Source: https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{
|
|||||||
Patch0: %{name}-1.1.0-remove-x86-only-flag.patch
|
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).
|
# 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
|
Patch1: %{name}-1.1.0-fix-invalid-input-crash.patch
|
||||||
BuildRequires: boost-devel >= 1.47
|
BuildRequires: boost-devel >= 1.54
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
@@ -135,7 +135,7 @@ Documentation for the libtorrent-rasterbar package.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
export CXXFLAGS="$CFLAGS"
|
export CXXFLAGS="$CFLAGS -std=c++11"
|
||||||
export LDFLAGS="%{optflags} -lrt"
|
export LDFLAGS="%{optflags} -lrt"
|
||||||
|
|
||||||
%global _configure ../configure
|
%global _configure ../configure
|
||||||
|
Reference in New Issue
Block a user