rpms/libtorrent/devel libtorrent-gcc43.patch, NONE, 1.1 libtorrent.spec, 1.18, 1.19
Christopher Aillon (caillon)
fedora-extras-commits at redhat.com
Sat Apr 5 13:57:21 UTC 2008
- Previous message (by thread): rpms/getmail/devel .cvsignore, 1.3, 1.4 getmail.spec, 1.2, 1.3 sources, 1.3, 1.4
- Next message (by thread): rpms/getmail/F-8 .cvsignore, 1.3, 1.4 getmail.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: caillon
Update of /cvs/extras/rpms/libtorrent/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30891
Modified Files:
libtorrent.spec
Added Files:
libtorrent-gcc43.patch
Log Message:
* Sat Apr 5 2008 Christopher Aillon <caillon at redhat.com> - 0.11.8-4
- Add missing #includes so this compiles against GCC 4.3
libtorrent-gcc43.patch:
--- NEW FILE libtorrent-gcc43.patch ---
diff -up libtorrent-0.11.8/rak/functional.h.gcc43 libtorrent-0.11.8/rak/functional.h
--- libtorrent-0.11.8/rak/functional.h.gcc43 2008-04-05 09:42:56.000000000 -0400
+++ libtorrent-0.11.8/rak/functional.h 2008-04-05 09:43:37.000000000 -0400
@@ -37,6 +37,7 @@
#ifndef RAK_FUNCTIONAL_H
#define RAK_FUNCTIONAL_H
+#include <cstdlib>
#include <functional>
namespace rak {
diff -up libtorrent-0.11.8/src/data/chunk.cc.gcc43 libtorrent-0.11.8/src/data/chunk.cc
--- libtorrent-0.11.8/src/data/chunk.cc.gcc43 2008-04-05 09:46:53.000000000 -0400
+++ libtorrent-0.11.8/src/data/chunk.cc 2008-04-05 09:47:12.000000000 -0400
@@ -38,6 +38,7 @@
#include <algorithm>
#include <functional>
+#include <cstring>
#include "torrent/exceptions.h"
diff -up libtorrent-0.11.8/src/data/chunk_list.h.gcc43 libtorrent-0.11.8/src/data/chunk_list.h
--- libtorrent-0.11.8/src/data/chunk_list.h.gcc43 2008-04-05 09:35:12.000000000 -0400
+++ libtorrent-0.11.8/src/data/chunk_list.h 2008-04-05 09:42:17.000000000 -0400
@@ -38,6 +38,7 @@
#define LIBTORRENT_DATA_CHUNK_LIST_H
#include <vector>
+#include <string>
#include <rak/error_number.h>
#include <rak/functional.h>
diff -up libtorrent-0.11.8/src/net/address_list.cc.gcc43 libtorrent-0.11.8/src/net/address_list.cc
--- libtorrent-0.11.8/src/net/address_list.cc.gcc43 2008-04-05 09:48:06.000000000 -0400
+++ libtorrent-0.11.8/src/net/address_list.cc 2008-04-05 09:49:35.000000000 -0400
@@ -36,6 +36,7 @@
#include "config.h"
+#include <algorithm>
#include <rak/functional.h>
#include "download/download_info.h" // for SocketAddressCompact
diff -up libtorrent-0.11.8/src/torrent/data/file_list_iterator.h.gcc43 libtorrent-0.11.8/src/torrent/data/file_list_iterator.h
--- libtorrent-0.11.8/src/torrent/data/file_list_iterator.h.gcc43 2008-04-05 09:30:55.000000000 -0400
+++ libtorrent-0.11.8/src/torrent/data/file_list_iterator.h 2008-04-05 09:33:02.000000000 -0400
@@ -40,6 +40,8 @@
#include <torrent/common.h>
#include <torrent/data/file_list.h>
+#include <cstdlib>
+
namespace torrent {
class File;
diff -up libtorrent-0.11.8/src/torrent/exceptions.cc.gcc43 libtorrent-0.11.8/src/torrent/exceptions.cc
--- libtorrent-0.11.8/src/torrent/exceptions.cc.gcc43 2008-04-05 09:44:28.000000000 -0400
+++ libtorrent-0.11.8/src/torrent/exceptions.cc 2008-04-05 09:46:15.000000000 -0400
@@ -37,6 +37,7 @@
#include "config.h"
#include <cerrno>
+#include <cstring>
#include "exceptions.h"
diff -up libtorrent-0.11.8/src/utils/diffie_hellman.cc.gcc43 libtorrent-0.11.8/src/utils/diffie_hellman.cc
--- libtorrent-0.11.8/src/utils/diffie_hellman.cc.gcc43 2008-04-05 09:50:29.000000000 -0400
+++ libtorrent-0.11.8/src/utils/diffie_hellman.cc 2008-04-05 09:50:51.000000000 -0400
@@ -36,7 +36,7 @@
#include "config.h"
-#include <string>
+#include <cstring>
#ifdef USE_OPENSSL
#include <openssl/bn.h>
Index: libtorrent.spec
===================================================================
RCS file: /cvs/extras/rpms/libtorrent/devel/libtorrent.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- libtorrent.spec 18 Feb 2008 22:29:59 -0000 1.18
+++ libtorrent.spec 5 Apr 2008 13:56:42 -0000 1.19
@@ -2,10 +2,11 @@
License: GPL
Group: System Environment/Libraries
Version: 0.11.8
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: BitTorrent library with a focus on high performance & good code
URL: http://libtorrent.rakshasa.no/
Source0: http://libtorrent.rakshasa.no/downloads/%{name}-%{version}.tar.gz
+Patch1: %{name}-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig, openssl-devel, libsigc++20-devel
@@ -27,6 +28,7 @@
%prep
%setup -q
+%patch1 -p1 -b .gcc43
%build
@@ -62,6 +64,9 @@
%{_libdir}/*.so
%changelog
+* Sat Apr 5 2008 Christopher Aillon <caillon at redhat.com> - 0.11.8-4
+- Add missing #includes so this compiles against GCC 4.3
+
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.11.8-3
- Autorebuild for GCC 4.3
- Previous message (by thread): rpms/getmail/devel .cvsignore, 1.3, 1.4 getmail.spec, 1.2, 1.3 sources, 1.3, 1.4
- Next message (by thread): rpms/getmail/F-8 .cvsignore, 1.3, 1.4 getmail.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list