summaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar-14
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-04-19 21:23:54 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-04-19 21:23:54 +0000
commit6275fced0d68f71d02b763d0b22c919bbfab6bf9 (patch)
tree93c592c4d11c81df6e19a0c78b7ed7bec9bdd9f1 /net-p2p/libtorrent-rasterbar-14
parent- Remove FreeBSD 4.X support from unmaintained ports in categories starting (diff)
- Remove old patch file.
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=190386
Diffstat (limited to 'net-p2p/libtorrent-rasterbar-14')
-rw-r--r--net-p2p/libtorrent-rasterbar-14/files/patch-include_libtorrent_asio_detail_socket_ops.hpp92
1 files changed, 0 insertions, 92 deletions
diff --git a/net-p2p/libtorrent-rasterbar-14/files/patch-include_libtorrent_asio_detail_socket_ops.hpp b/net-p2p/libtorrent-rasterbar-14/files/patch-include_libtorrent_asio_detail_socket_ops.hpp
deleted file mode 100644
index 0943e805c176..000000000000
--- a/net-p2p/libtorrent-rasterbar-14/files/patch-include_libtorrent_asio_detail_socket_ops.hpp
+++ /dev/null
@@ -1,92 +0,0 @@
---- include/libtorrent/asio/detail/socket_ops.hpp.original Tue Oct 24 00:50:21 2006
-+++ include/libtorrent/asio/detail/socket_ops.hpp Wed Nov 29 14:40:02 2006
-@@ -66,7 +66,7 @@
- socket_addr_len_type* addrlen)
- {
- set_error(0);
--#if defined(__MACH__) && defined(__APPLE__)
-+#if defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
- socket_type new_s = error_wrapper(::accept(s, addr, addrlen));
- if (new_s == invalid_socket)
- return new_s;
-@@ -279,7 +279,7 @@
- #if defined(BOOST_WINDOWS) || defined(__CYGWIN__)
- return error_wrapper(::WSASocket(af, type, protocol, 0, 0,
- WSA_FLAG_OVERLAPPED));
--#elif defined(__MACH__) && defined(__APPLE__)
-+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
- socket_type s = error_wrapper(::socket(af, type, protocol));
- if (s == invalid_socket)
- return s;
-@@ -561,7 +561,7 @@
- }
-
- #if defined(BOOST_WINDOWS) || defined(__CYGWIN__) \
-- || defined(__MACH__) && defined(__APPLE__)
-+ || defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
-
- // The following functions are only needed for emulation of getaddrinfo and
- // getnameinfo.
-@@ -604,7 +604,7 @@
- buffer, buflength, error));
- *error = translate_netdb_error(*error);
- return retval;
--#elif defined(__MACH__) && defined(__APPLE__)
-+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
- (void)(buffer);
- (void)(buflength);
- hostent* retval = error_wrapper(::getipnodebyaddr(addr, length, af, error));
-@@ -652,7 +652,7 @@
- buflength, error));
- *error = translate_netdb_error(*error);
- return retval;
--#elif defined(__MACH__) && defined(__APPLE__)
-+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
- (void)(buffer);
- (void)(buflength);
- hostent* retval = error_wrapper(::getipnodebyname(
-@@ -679,7 +679,7 @@
-
- inline void freehostent(hostent* h)
- {
--#if defined(__MACH__) && defined(__APPLE__)
-+#if defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
- if (h)
- ::freehostent(h);
- #else
-@@ -1372,7 +1372,7 @@
- }
-
- #endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__)
-- // || defined(__MACH__) && defined(__APPLE__)
-+ // || defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
-
- inline int translate_addrinfo_error(int error)
- {
-@@ -1425,7 +1425,7 @@
- int error = getaddrinfo_emulation(host, service, hints, result);
- return translate_addrinfo_error(error);
- # endif
--#elif defined(__MACH__) && defined(__APPLE__)
-+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
- int error = getaddrinfo_emulation(host, service, hints, result);
- return translate_addrinfo_error(error);
- #else
-@@ -1453,7 +1453,7 @@
- }
- freeaddrinfo_emulation(ai);
- # endif
--#elif defined(__MACH__) && defined(__APPLE__)
-+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
- freeaddrinfo_emulation(ai);
- #else
- ::freeaddrinfo(ai);
-@@ -1488,7 +1488,7 @@
- host, hostlen, serv, servlen, flags);
- return translate_addrinfo_error(error);
- # endif
--#elif defined(__MACH__) && defined(__APPLE__)
-+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
- using namespace std; // For memcpy.
- sockaddr_storage_type tmp_addr;
- memcpy(&tmp_addr, addr, addrlen);