diff options
author | pav <pav@FreeBSD.org> | 2005-09-17 22:40:23 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-09-17 22:40:23 +0000 |
commit | 2be0d27e6efdb6915de5a76ddf49924df81236a1 (patch) | |
tree | 96acece7bf0e4477d7cefa76fa9324b76e29efd2 /net/vyqchat/files/patch-src-uuid.cpp | |
parent | 04cbd1e4c6fbc94e17a45df7ca03b25716a0ed8d (diff) | |
download | FreeBSD-ports-2be0d27e6efdb6915de5a76ddf49924df81236a1.zip FreeBSD-ports-2be0d27e6efdb6915de5a76ddf49924df81236a1.tar.gz |
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/patch-src-uuid.cpp')
-rw-r--r-- | net/vyqchat/files/patch-src-uuid.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/vyqchat/files/patch-src-uuid.cpp b/net/vyqchat/files/patch-src-uuid.cpp new file mode 100644 index 0000000..1087279 --- /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)/*{{{*/ |