aboutsummaryrefslogtreecommitdiffstats
path: root/net/vyqchat/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-09-18 06:40:23 +0800
committerpav <pav@FreeBSD.org>2005-09-18 06:40:23 +0800
commit2be0d27e6efdb6915de5a76ddf49924df81236a1 (patch)
tree96acece7bf0e4477d7cefa76fa9324b76e29efd2 /net/vyqchat/files
parent04cbd1e4c6fbc94e17a45df7ca03b25716a0ed8d (diff)
downloadfreebsd-ports-gnome-2be0d27e6efdb6915de5a76ddf49924df81236a1.tar.gz
freebsd-ports-gnome-2be0d27e6efdb6915de5a76ddf49924df81236a1.tar.zst
freebsd-ports-gnome-2be0d27e6efdb6915de5a76ddf49924df81236a1.zip
VyQChat is a real-time, text-based, serverless chat program dedicated to LANs,
that runs on Linux using Qt/X11 library. It is almost 100% compatible with Vypress Chat(TM) for Windows. It allows you to chat with friends on public or private channels, send and recieve messages etc. The GUI is meant to be user-friendly and lets you to do most things with mouse. There is also optional sound support. VyQChat has been written in C++ and requires Qt library, version 3.x. PR: ports/86257 Submitted by: Victor Semionov <semionov@mail.bg>
Diffstat (limited to 'net/vyqchat/files')
-rw-r--r--net/vyqchat/files/patch-src-settings.cpp12
-rw-r--r--net/vyqchat/files/patch-src-uuid.cpp22
2 files changed, 34 insertions, 0 deletions
diff --git a/net/vyqchat/files/patch-src-settings.cpp b/net/vyqchat/files/patch-src-settings.cpp
new file mode 100644
index 000000000000..7d17134e1258
--- /dev/null
+++ b/net/vyqchat/files/patch-src-settings.cpp
@@ -0,0 +1,12 @@
+--- src/settings.cpp Mon Jul 18 21:54:08 2005
++++ src/settings.cpp Sun Aug 7 15:59:58 2005
+@@ -14,8 +14,8 @@
+ #include "settings.h"
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+-#include <net/if.h>
+ #include <sys/socket.h>
++#include <net/if.h>
+ #include <sys/types.h>
+ #include <arpa/inet.h>
+ #include <stdlib.h>
diff --git a/net/vyqchat/files/patch-src-uuid.cpp b/net/vyqchat/files/patch-src-uuid.cpp
new file mode 100644
index 000000000000..10872796bcc0
--- /dev/null
+++ b/net/vyqchat/files/patch-src-uuid.cpp
@@ -0,0 +1,22 @@
+--- src/uuid.cpp.orig Mon Jul 18 20:54:08 2005
++++ src/uuid.cpp Sat Sep 17 23:03:48 2005
+@@ -12,7 +12,7 @@
+
+ #include "uuid.h"
+ #include <qstring.h>
+-#include <openssl/rand.h>
++#include <fcntl.h>
+
+ UUID::UUID(): QByteArray(UUID_LEN)/*{{{*/
+ {
+@@ -35,7 +35,9 @@
+
+ void UUID::generate()/*{{{*/
+ {
+- RAND_bytes((unsigned char *)data(), UUID_LEN);
++ int rfd = open("/dev/random", O_RDONLY);
++ read(rfd, (void *)data(), UUID_LEN);
++ close(rfd);
+ }/*}}}*/
+
+ void UUID::set(const unsigned char *data)/*{{{*/