aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrigoletto <rigoletto@FreeBSD.org>2018-12-29 15:18:50 +0800
committerrigoletto <rigoletto@FreeBSD.org>2018-12-29 15:18:50 +0800
commit7b298343dbdde2427b480beafca8af7732a57cf0 (patch)
treefd16dfa1e39d031698d86de774179ab0eb2fa22e
parent71cb3ae8a360a6b6a1ec20c46e452e9b6c598fed (diff)
downloadfreebsd-ports-gnome-7b298343dbdde2427b480beafca8af7732a57cf0.tar.gz
freebsd-ports-gnome-7b298343dbdde2427b480beafca8af7732a57cf0.tar.zst
freebsd-ports-gnome-7b298343dbdde2427b480beafca8af7732a57cf0.zip
net-p2p/tranmission-cli: fix build due to devel/jech-dht update to v0.25.
- bump PORTREVISION of the affected SLAVEPORTS PR: 234462 Reviewed by: mat (mentor) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D18660
-rw-r--r--net-p2p/transmission-cli/Makefile1
-rw-r--r--net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c14
-rw-r--r--net-p2p/transmission-daemon/Makefile1
-rw-r--r--net-p2p/transmission-gtk/Makefile3
-rw-r--r--net-p2p/transmission-qt/Makefile2
5 files changed, 19 insertions, 2 deletions
diff --git a/net-p2p/transmission-cli/Makefile b/net-p2p/transmission-cli/Makefile
index 5a0a09f969fe..26288d58ee42 100644
--- a/net-p2p/transmission-cli/Makefile
+++ b/net-p2p/transmission-cli/Makefile
@@ -2,6 +2,7 @@
PORTNAME= transmission
DISTVERSION= 2.94
+PORTREVISION?= 1
CATEGORIES+= net-p2p
SLAVEPORT?= cli
PKGNAMESUFFIX?= -cli
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)
diff --git a/net-p2p/transmission-daemon/Makefile b/net-p2p/transmission-daemon/Makefile
index 0abf6e278190..d15ea512cde8 100644
--- a/net-p2p/transmission-daemon/Makefile
+++ b/net-p2p/transmission-daemon/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PORTREVISION= 1
PKGNAMESUFFIX= -daemon
USES= ssl
diff --git a/net-p2p/transmission-gtk/Makefile b/net-p2p/transmission-gtk/Makefile
index ae7e7e1779d2..c3232780ce7a 100644
--- a/net-p2p/transmission-gtk/Makefile
+++ b/net-p2p/transmission-gtk/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
-PORTREVISION= 1
+
+PORTREVISION= 2
PKGNAMESUFFIX= -gtk
diff --git a/net-p2p/transmission-qt/Makefile b/net-p2p/transmission-qt/Makefile
index 07dc1946ab55..747a0efb25a5 100644
--- a/net-p2p/transmission-qt/Makefile
+++ b/net-p2p/transmission-qt/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 3
+PORTREVISION= 4
PKGNAMESUFFIX= -${FLAVOR}
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \