forked from pool/libtorrent-rasterbar
Accepting request 88063 from home:coolo:branches:openSUSE:Factory
- fix build for factory OBS-URL: https://build.opensuse.org/request/show/88063 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
1c28a92e8f
commit
82cae3bd91
12
libtorrent-rasterbar-0.15.6.diff
Normal file
12
libtorrent-rasterbar-0.15.6.diff
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Index: libtorrent-rasterbar-0.15.6/src/file.cpp
|
||||||
|
===================================================================
|
||||||
|
--- libtorrent-rasterbar-0.15.6.orig/src/file.cpp 2011-02-22 01:18:05.000000000 +0100
|
||||||
|
+++ libtorrent-rasterbar-0.15.6/src/file.cpp 2011-10-16 12:03:38.973556698 +0200
|
||||||
|
@@ -1082,6 +1082,7 @@ typedef struct _FILE_ALLOCATED_RANGE_BUF
|
||||||
|
#else
|
||||||
|
return start;
|
||||||
|
#endif
|
||||||
|
+ return start;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 16 10:44:25 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- fix build for factory
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 7 15:21:57 UTC 2011 - mrueckert@suse.de
|
Tue Jun 7 15:21:57 UTC 2011 - mrueckert@suse.de
|
||||||
|
|
||||||
|
@@ -30,6 +30,7 @@ Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
|
|||||||
Url: http://www.rasterbar.com/products/libtorrent/
|
Url: http://www.rasterbar.com/products/libtorrent/
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Source: http://libtorrent.googlecode.com/files/%{name}-%{version}.tar.gz
|
Source: http://libtorrent.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: libtorrent-rasterbar-0.15.6.diff
|
||||||
BuildRequires: boost-devel >= 1.36
|
BuildRequires: boost-devel >= 1.36
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libGeoIP-devel
|
BuildRequires: libGeoIP-devel
|
||||||
@@ -50,9 +51,6 @@ The main goals of libtorrent are:
|
|||||||
This package holds the sample client and example files for libtorrent-rasterbar.
|
This package holds the sample client and example files for libtorrent-rasterbar.
|
||||||
|
|
||||||
%package -n %{name}%{_soname}
|
%package -n %{name}%{_soname}
|
||||||
|
|
||||||
|
|
||||||
License: BSD
|
|
||||||
Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
|
Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
@@ -65,8 +63,6 @@ The main goals of libtorrent are:
|
|||||||
* to be very easy to use
|
* to be very easy to use
|
||||||
|
|
||||||
%package -n python-%{name}
|
%package -n python-%{name}
|
||||||
|
|
||||||
|
|
||||||
Summary: Python Bindings for libtorrent-rasterbar
|
Summary: Python Bindings for libtorrent-rasterbar
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: python >= %{py_ver}
|
Requires: python >= %{py_ver}
|
||||||
@@ -77,8 +73,6 @@ Python Bindings for package libtorrent-rasterbar.
|
|||||||
%if %{with examples}
|
%if %{with examples}
|
||||||
|
|
||||||
%package -n %{name}-tools
|
%package -n %{name}-tools
|
||||||
|
|
||||||
|
|
||||||
Summary: Example tools from libtorrent-rasterbar
|
Summary: Example tools from libtorrent-rasterbar
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
@@ -87,7 +81,6 @@ Example tools from the libtorrent-rasterbar package.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: BSD
|
|
||||||
Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
|
Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}%{_soname} = %{version}
|
Requires: %{name}%{_soname} = %{version}
|
||||||
@@ -108,7 +101,6 @@ The main goals of libtorrent are:
|
|||||||
This package holds the development files for libtorrent-rasterbar.
|
This package holds the development files for libtorrent-rasterbar.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
License: BSD
|
|
||||||
Summary: Documentation for libtorrent-rasterbar
|
Summary: Documentation for libtorrent-rasterbar
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
|
|
||||||
@@ -117,6 +109,7 @@ Documentation for package libtorrent-rasterbar.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -g -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -g -fno-strict-aliasing"
|
||||||
|
Reference in New Issue
Block a user