summaryrefslogtreecommitdiff
path: root/net-p2p/ktorrent2
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2006-02-03 21:21:02 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2006-02-03 21:21:02 +0000
commit2d2de8845ab374e99917bceedff8d605e3ccfcf5 (patch)
tree7fbba9fcb8aa94f28665fafa8daed0522206ae91 /net-p2p/ktorrent2
parentAdd autoconf:213 dependency to allow :configure target to run (diff)
- Fix UPnP detection
- Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=155157
Diffstat (limited to 'net-p2p/ktorrent2')
-rw-r--r--net-p2p/ktorrent2/Makefile1
-rw-r--r--net-p2p/ktorrent2/files/patch-plugins-upnp-upnpmcastsocket.cpp10
2 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/ktorrent2/Makefile b/net-p2p/ktorrent2/Makefile
index a6dd80e23e99..3d1243230831 100644
--- a/net-p2p/ktorrent2/Makefile
+++ b/net-p2p/ktorrent2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ktorrent
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= net-p2p kde
MASTER_SITES= http://ktorrent.pwsp.net/downloads/${PORTVERSION}/
diff --git a/net-p2p/ktorrent2/files/patch-plugins-upnp-upnpmcastsocket.cpp b/net-p2p/ktorrent2/files/patch-plugins-upnp-upnpmcastsocket.cpp
new file mode 100644
index 000000000000..cb45a8a78566
--- /dev/null
+++ b/net-p2p/ktorrent2/files/patch-plugins-upnp-upnpmcastsocket.cpp
@@ -0,0 +1,10 @@
+--- plugins/upnp/upnpmcastsocket.cpp.orig Fri Feb 3 18:13:05 2006
++++ plugins/upnp/upnpmcastsocket.cpp Fri Feb 3 20:00:54 2006
+@@ -40,6 +40,7 @@
+ QObject::connect(this,SIGNAL(readyRead()),this,SLOT(onReadyRead()));
+ QObject::connect(this,SIGNAL(gotError(int)),this,SLOT(onError(int)));
+ setAddressReuseable(true);
++ setFamily(KNetwork::KResolver::IPv4Family);
+ setBlocking(true);
+ for (Uint32 i = 0;i < 10;i++)
+ {