aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2010-09-20 02:43:34 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2010-09-20 02:43:34 +0000
commit8c07085b604bb36084af3953303432b5958f161b (patch)
tree0cf8cfda822797a69825a60ad8413642da258486 /net-p2p
parent82f295a708575a40b2fa5375203c6cf9888132fc (diff)
downloadports-8c07085b604bb36084af3953303432b5958f161b.tar.gz
ports-8c07085b604bb36084af3953303432b5958f161b.zip
Fix if FreeBSD built without ipv6 support.
PR: ports/150519 Submitted by: well-wisher <regex@bk.ru>
Notes
Notes: svn path=/head/; revision=261467
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/transmission-cli/Makefile2
-rw-r--r--net-p2p/transmission-cli/files/patch-fix_without_ipv611
-rw-r--r--net-p2p/transmission-daemon/Makefile2
-rw-r--r--net-p2p/transmission-gtk2/Makefile2
4 files changed, 14 insertions, 3 deletions
diff --git a/net-p2p/transmission-cli/Makefile b/net-p2p/transmission-cli/Makefile
index bf74f1bb42b5..941acce37221 100644
--- a/net-p2p/transmission-cli/Makefile
+++ b/net-p2p/transmission-cli/Makefile
@@ -7,7 +7,7 @@
PORTNAME= transmission
PORTVERSION= 2.04
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= net-p2p
MASTER_SITES= http://download.m0k.org/${PORTNAME}/files/
PKGNAMESUFFIX?= -cli
diff --git a/net-p2p/transmission-cli/files/patch-fix_without_ipv6 b/net-p2p/transmission-cli/files/patch-fix_without_ipv6
new file mode 100644
index 000000000000..cd9deba2732e
--- /dev/null
+++ b/net-p2p/transmission-cli/files/patch-fix_without_ipv6
@@ -0,0 +1,11 @@
+--- libtransmission/fdlimit.c.orig 2010-09-13 14:17:18.000000000 +0600
++++ libtransmission/fdlimit.c 2010-09-13 14:04:19.000000000 +0600
+@@ -646,7 +646,7 @@
+ if( gFd->socketCount < gFd->socketLimit )
+ if( ( s = socket( domain, type, 0 ) ) < 0 )
+ {
+- if( sockerrno != EAFNOSUPPORT )
++ if( sockerrno != EPROTONOSUPPORT )
+ tr_err( _( "Couldn't create socket: %s" ),
+ tr_strerror( sockerrno ) );
+ }
diff --git a/net-p2p/transmission-daemon/Makefile b/net-p2p/transmission-daemon/Makefile
index ed2a5bd0a54f..0283f76abf19 100644
--- a/net-p2p/transmission-daemon/Makefile
+++ b/net-p2p/transmission-daemon/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTREVISION= 0
+PORTREVISION= 1
PKGNAMESUFFIX= -daemon
MAINTAINER= mezz@FreeBSD.org
diff --git a/net-p2p/transmission-gtk2/Makefile b/net-p2p/transmission-gtk2/Makefile
index 34fde83a28b1..7c0f1ba3536c 100644
--- a/net-p2p/transmission-gtk2/Makefile
+++ b/net-p2p/transmission-gtk2/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTREVISION= 0
+PORTREVISION= 1
PKGNAMESUFFIX= -gtk2
MAINTAINER= mezz@FreeBSD.org