summaryrefslogtreecommitdiffstats
path: root/net-p2p/libtorrent/files
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-01-12 10:19:49 +0000
committerlioux <lioux@FreeBSD.org>2005-01-12 10:19:49 +0000
commitec752876a16f785b831c9927ab1b19b8f4a9c8cf (patch)
tree939ac390435189a2dafe02dc5b5c4c4265fed2c3 /net-p2p/libtorrent/files
parent414aab4a07746ef71fc25bbee5a000695df25b55 (diff)
downloadFreeBSD-ports-ec752876a16f785b831c9927ab1b19b8f4a9c8cf.zip
FreeBSD-ports-ec752876a16f785b831c9927ab1b19b8f4a9c8cf.tar.gz
New port libtorrent version 0.4.5: BitTorrent Library written in
C++ PR: 76033 Submitted by: Florent Thoumie <flz@xbsd.org>
Diffstat (limited to 'net-p2p/libtorrent/files')
-rw-r--r--net-p2p/libtorrent/files/patch-client::rtorrent.cc14
-rw-r--r--net-p2p/libtorrent/files/patch-src::data::file.cc13
-rw-r--r--net-p2p/libtorrent/files/patch-src::torrent::torrent.h11
3 files changed, 38 insertions, 0 deletions
diff --git a/net-p2p/libtorrent/files/patch-client::rtorrent.cc b/net-p2p/libtorrent/files/patch-client::rtorrent.cc
new file mode 100644
index 0000000..c4f107a
--- /dev/null
+++ b/net-p2p/libtorrent/files/patch-client::rtorrent.cc
@@ -0,0 +1,14 @@
+--- client/rtorrent.cc.old Fri Jan 7 15:04:15 2005
++++ client/rtorrent.cc Fri Jan 7 15:04:57 2005
+@@ -19,9 +19,9 @@
+ #include "curl_get.h"
+
+ // Uncomment this if your system doesn't have execinfo.h
+-#define USE_EXECINFO
++//#define USE_EXECINFO
+
+-#ifdef USE_EXECINFO
++#ifdef USE_EXECINFO
+ #include <execinfo.h>
+ #endif
+
diff --git a/net-p2p/libtorrent/files/patch-src::data::file.cc b/net-p2p/libtorrent/files/patch-src::data::file.cc
new file mode 100644
index 0000000..e0b3abd
--- /dev/null
+++ b/net-p2p/libtorrent/files/patch-src::data::file.cc
@@ -0,0 +1,13 @@
+--- src/data/file.cc.old Fri Jan 7 14:35:43 2005
++++ src/data/file.cc Fri Jan 7 14:36:35 2005
+@@ -19,8 +19,9 @@
+ (flags & in && flags & out ? O_RDWR :
+ (flags & in ? O_RDONLY : 0) |
+ (flags & out ? O_WRONLY : 0)) |
+-
++#if defined(Linux)
+ (flags & largefile ? O_LARGEFILE : 0) |
++#endif
+ (flags & create ? O_CREAT : 0) |
+ (flags & truncate ? O_TRUNC : 0) |
+ (flags & nonblock ? O_NONBLOCK : 0),
diff --git a/net-p2p/libtorrent/files/patch-src::torrent::torrent.h b/net-p2p/libtorrent/files/patch-src::torrent::torrent.h
new file mode 100644
index 0000000..bb7f003
--- /dev/null
+++ b/net-p2p/libtorrent/files/patch-src::torrent::torrent.h
@@ -0,0 +1,11 @@
+--- src/torrent/torrent.h.old Fri Jan 7 22:34:09 2005
++++ src/torrent/torrent.h Fri Jan 7 22:51:03 2005
+@@ -4,6 +4,8 @@
+ #include <list>
+ #include <torrent/common.h>
+ #include <torrent/download.h>
++#include <sys/types.h>
++#include <sys/select.h>
+
+ namespace torrent {
+
OpenPOWER on IntegriCloud