[rb_libtorrent/f18] Update to 0.16.4
leigh123linux
leigh123linux at fedoraproject.org
Sun Sep 30 13:17:10 UTC 2012
commit f458715489b715eceb5559391a629016a26a77fb
Author: leigh123linux <leigh123linux at googlemail.com>
Date: Sun Sep 30 14:17:01 2012 +0100
Update to 0.16.4
- Patch for gcc error
rb_libtorrent-0.16.4-gcc47.patch | 11 +++++++++++
rb_libtorrent.spec | 5 +++++
2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/rb_libtorrent-0.16.4-gcc47.patch b/rb_libtorrent-0.16.4-gcc47.patch
new file mode 100644
index 0000000..43580d7
--- /dev/null
+++ b/rb_libtorrent-0.16.4-gcc47.patch
@@ -0,0 +1,11 @@
+--- a/tools/parse_hash_fails.cpp
++++ b/tools/parse_hash_fails.cpp
+@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ */
+
+ #include <stdlib.h>
+-#include <string>
++#include <cstring>
+ #include "libtorrent/file.hpp"
+
+ using namespace libtorrent;
diff --git a/rb_libtorrent.spec b/rb_libtorrent.spec
index ac7c491..36070e2 100644
--- a/rb_libtorrent.spec
+++ b/rb_libtorrent.spec
@@ -12,6 +12,8 @@ Source1: %{name}-README-renames.Fedora
Source2: %{name}-COPYING.Boost
Source3: %{name}-COPYING.zlib
+Patch0: rb_libtorrent-0.16.4-gcc47.patch
+
BuildRequires: asio-devel
BuildRequires: boost-devel
BuildRequires: GeoIP-devel
@@ -82,6 +84,7 @@ module) that allow it to be used from within Python applications.
%prep
%setup -q -n "libtorrent-rasterbar-%{version}"
+%patch0 -p1
## The RST files are the sources used to create the final HTML files; and are
## not needed.
@@ -161,6 +164,7 @@ rm -fv %{buildroot}%{_libdir}/lib*.a
%files examples
%doc COPYING README-renames.Fedora
%{_bindir}/*torrent*
+%{_bindir}/connection_tester
%{_bindir}/enum_if
%{_bindir}/parse_*
%{_bindir}/rss_reader
@@ -175,6 +179,7 @@ rm -fv %{buildroot}%{_libdir}/lib*.a
%changelog
* Sun Sep 30 2012 Leigh Scott <leigh123linux at googlemail.com> - 0.16.4-1
- Update to 0.16.4
+- Patch for gcc error
* Mon Aug 20 2012 Leigh Scott <leigh123linux at googlemail.com> - 0.16.3-1
- Update to 0.16.3
More information about the scm-commits
mailing list