aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c')
-rw-r--r--net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c b/net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c
new file mode 100644
index 000000000000..cf2e17b89602
--- /dev/null
+++ b/net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c
@@ -0,0 +1,14 @@
+--- libtransmission/tr-dht.c.orig 2018-12-27 04:04:08 UTC
++++ libtransmission/tr-dht.c
+@@ -694,6 +694,11 @@ dht_random_bytes (void * buf, size_t size)
+ return size;
+ }
+
++int dht_sendto(int sockfd, void const* buf, int len, int flags, struct sockaddr const* to, int tolen)
++{
++ return sendto(sockfd, buf, len, flags, to, tolen);
++}
++
+ #if defined (_WIN32) && !defined (__MINGW32__)
+ int
+ dht_gettimeofday (struct timeval * tv, struct timezone * tz)