summaryrefslogtreecommitdiff
path: root/net-im/trix/files/patch-xxxprotocol.cpp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-06-03 13:19:58 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-06-03 13:19:58 +0000
commit1f1fa3bf10fcb8a4636bbbe79f4810160c27f1ab (patch)
treefc62574177b8e9c83b7a073ab08bde05e65da5d1 /net-im/trix/files/patch-xxxprotocol.cpp
parent- Update to 0.1.23 (diff)
As compared to VyQChat in TriX such new features appears as:
files transfer, bulletin board, users avatars, logs, links navigation, broadcast and multicast type of connection, search by IP address and many other, a few more features not listed here. Now TriX is compatible with the version 2.0 of the Vypress Chat protocol developed by VyPRESS Research. WWW: http://trix.sourceforge.net/ PR: ports/123037 Submitted by: Kozienko Aleksandr <pascalamsg at gmail.com>
Notes
Notes: svn path=/head/; revision=214241
Diffstat (limited to 'net-im/trix/files/patch-xxxprotocol.cpp')
-rw-r--r--net-im/trix/files/patch-xxxprotocol.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-im/trix/files/patch-xxxprotocol.cpp b/net-im/trix/files/patch-xxxprotocol.cpp
new file mode 100644
index 000000000000..1da7cdd2d6ae
--- /dev/null
+++ b/net-im/trix/files/patch-xxxprotocol.cpp
@@ -0,0 +1,37 @@
+--- src/xxxprotocol.cpp.orig 2008-01-04 18:25:54.000000000 +0200
++++ src/xxxprotocol.cpp 2008-04-21 01:19:07.000000000 +0300
+@@ -8,6 +8,7 @@
+ #include <quuid.h>
+ #include <qsocketnotifier.h>
+ #include <qmessagebox.h>
++#include <sys/param.h>
+ #ifdef WIN32
+ #include <winsock.h>
+ #else
+@@ -21,7 +22,7 @@
+ #include <fcntl.h>
+ #endif
+
+-#ifdef FREEBSD
++#ifdef BSD
+ #include <err.h>
+ #include <errno.h>
+ #include <net/if.h>
+@@ -223,7 +224,7 @@
+ QString XXXProtocol::getHWAddr(const QString& addr, const QString& iface)
+ {
+ QString macaddr(tr("Unknown"));
+-#if defined( FREEBSD )
++#if defined( BSD )
+ struct sockaddr_inarp addr_inarp;
+
+ bzero(&addr_inarp, sizeof(addr_inarp));
+@@ -265,7 +266,7 @@
+ return macaddr;
+ }
+
+-#if defined( FREEBSD )
++#if defined( BSD )
+ struct sockaddr_dl * XXXProtocol::search(u_long addr)
+ {
+ int mib[6];