aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/ktorrent2
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2006-02-04 05:21:02 +0800
committermarkus <markus@FreeBSD.org>2006-02-04 05:21:02 +0800
commit1f86537cff216e022bd6471facfcfaf48d5ad136 (patch)
treee6b2b6edb5cb9241410f899309f29ef809bc1d29 /net-p2p/ktorrent2
parent908074263dd8a3bb6448be2eb2a5ba2c5c0ee4d2 (diff)
downloadfreebsd-ports-gnome-1f86537cff216e022bd6471facfcfaf48d5ad136.tar.gz
freebsd-ports-gnome-1f86537cff216e022bd6471facfcfaf48d5ad136.tar.zst
freebsd-ports-gnome-1f86537cff216e022bd6471facfcfaf48d5ad136.zip
- Fix UPnP detection
- Bump PORTREVISION
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++)
+ {