summaryrefslogtreecommitdiffstats
path: root/net-p2p/qtella
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2003-01-02 20:10:17 +0000
committerseanc <seanc@FreeBSD.org>2003-01-02 20:10:17 +0000
commited02cbb20f436c3db9f14c8801faa8ec0ab31955 (patch)
tree0c1f8fd790393b88ba44f7de6b71535a29c7e191 /net-p2p/qtella
parent275d42c6ba4966bc9fc81e94c33675bb35b256dd (diff)
downloadFreeBSD-ports-ed02cbb20f436c3db9f14c8801faa8ec0ab31955.zip
FreeBSD-ports-ed02cbb20f436c3db9f14c8801faa8ec0ab31955.tar.gz
Update qtella to 0.5.4. Fixes connecting to gnutella servers.
Diffstat (limited to 'net-p2p/qtella')
-rw-r--r--net-p2p/qtella/Makefile3
-rw-r--r--net-p2p/qtella/distinfo2
-rw-r--r--net-p2p/qtella/files/patch-src::HostCacheConnection.cpp10
-rw-r--r--net-p2p/qtella/files/patch-src::SHA1Storage.cpp17
4 files changed, 29 insertions, 3 deletions
diff --git a/net-p2p/qtella/Makefile b/net-p2p/qtella/Makefile
index bed9e47..55c8880 100644
--- a/net-p2p/qtella/Makefile
+++ b/net-p2p/qtella/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= qtella
-PORTVERSION= 0.5.3
-PORTREVISION= 1
+PORTVERSION= 0.5.4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= qtella
diff --git a/net-p2p/qtella/distinfo b/net-p2p/qtella/distinfo
index 239c864..6827b56 100644
--- a/net-p2p/qtella/distinfo
+++ b/net-p2p/qtella/distinfo
@@ -1 +1 @@
-MD5 (qtella-0.5.3.tar.gz) = f0a6a532250b03b39bd221b93948349b
+MD5 (qtella-0.5.4.tar.gz) = 6971c6c27d31537f2c38f3702c9c545e
diff --git a/net-p2p/qtella/files/patch-src::HostCacheConnection.cpp b/net-p2p/qtella/files/patch-src::HostCacheConnection.cpp
new file mode 100644
index 0000000..b5aa7f1
--- /dev/null
+++ b/net-p2p/qtella/files/patch-src::HostCacheConnection.cpp
@@ -0,0 +1,10 @@
+--- src/HostCacheConnection.cpp.orig Fri Dec 20 14:26:30 2002
++++ src/HostCacheConnection.cpp Fri Dec 20 14:26:44 2002
+@@ -10,6 +10,7 @@
+ #include <qlistbox.h>
+ #include <qcheckbox.h>
+ #include <qlineedit.h>
++#include <iostream>
+ #include <string>
+ #include <vector>
+
diff --git a/net-p2p/qtella/files/patch-src::SHA1Storage.cpp b/net-p2p/qtella/files/patch-src::SHA1Storage.cpp
new file mode 100644
index 0000000..f93283d
--- /dev/null
+++ b/net-p2p/qtella/files/patch-src::SHA1Storage.cpp
@@ -0,0 +1,17 @@
+--- src/SHA1Storage.cpp.orig Fri Dec 20 14:06:10 2002
++++ src/SHA1Storage.cpp Fri Dec 20 14:13:03 2002
+@@ -1,4 +1,4 @@
+-#include <iostream.h>
++#include <iostream>
+ #include <qdir.h>
+ #include <qfile.h>
+ #include <qtextstream.h>
+@@ -100,7 +100,7 @@
+ QString *SHA1Storage::get(SharedFile *sf)
+ {
+ std::string n = sf -> completeFilename();
+- n += std::string::traits_type::eos();
++ n += '\0'; // std::string::traits_type::eos();
+ QString fileName(n.data());
+ QString *result = _cache[fileName];
+ if (!result) {
OpenPOWER on IntegriCloud