aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/rblibtorrent-devel/files
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-10-01 19:57:46 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-10-01 19:57:46 +0000
commitae7f26f1073d97439314cedfaa89107eb94786db (patch)
tree93c1a550edea769dc1279d204b5adce4e9b5fd8e /net-p2p/rblibtorrent-devel/files
parentba38e1e8be2b8403dd01fdecb1b63049adad84e9 (diff)
downloadports-ae7f26f1073d97439314cedfaa89107eb94786db.tar.gz
ports-ae7f26f1073d97439314cedfaa89107eb94786db.zip
Notes
Diffstat (limited to 'net-p2p/rblibtorrent-devel/files')
-rw-r--r--net-p2p/rblibtorrent-devel/files/patch-socket_ops.hpp21
-rw-r--r--net-p2p/rblibtorrent-devel/files/patch-src__storage.cpp15
2 files changed, 26 insertions, 10 deletions
diff --git a/net-p2p/rblibtorrent-devel/files/patch-socket_ops.hpp b/net-p2p/rblibtorrent-devel/files/patch-socket_ops.hpp
index 65260b013846..651e734b4067 100644
--- a/net-p2p/rblibtorrent-devel/files/patch-socket_ops.hpp
+++ b/net-p2p/rblibtorrent-devel/files/patch-socket_ops.hpp
@@ -1,10 +1,11 @@
---- include/libtorrent/asio/detail/socket_ops.hpp Wed May 16 00:35:55 2007
-+++ include/libtorrent/asio/detail/socket_ops.hpp.orig Wed May 16 00:35:45 2007
-66c66
-< #if defined(__MACH__) && defined(__APPLE__)
----
-> #if defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
-298c298
-< #elif defined(__MACH__) && defined(__APPLE__)
----
-> #elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
+--- include/libtorrent/asio/detail/socket_ops.hpp.orig Wed Aug 8 03:43:42 2007
++++ include/libtorrent/asio/detail/socket_ops.hpp Mon Sep 10 12:46:17 2007
+@@ -715,7 +715,7 @@
+ if (error)
+ ec = translate_netdb_error(error);
+ return retval;
+-#elif defined(__MACH__) && defined(__APPLE__)
++#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
+ (void)(buffer);
+ (void)(buflength);
+ int error = 0;
diff --git a/net-p2p/rblibtorrent-devel/files/patch-src__storage.cpp b/net-p2p/rblibtorrent-devel/files/patch-src__storage.cpp
new file mode 100644
index 000000000000..ea0156332167
--- /dev/null
+++ b/net-p2p/rblibtorrent-devel/files/patch-src__storage.cpp
@@ -0,0 +1,15 @@
+--- src/storage.cpp.orig Sat Aug 25 15:26:43 2007
++++ src/storage.cpp Mon Sep 10 12:51:23 2007
+@@ -75,9 +75,11 @@
+ #include <cstdio>
+ #endif
+
+-#if defined(__APPLE__)
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ // for getattrlist()
++#ifdef __APPLE__
+ #include <sys/attr.h>
++#endif
+ #include <unistd.h>
+ // for statfs()
+ #include <sys/param.h>