diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-07-21 18:15:36 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-07-21 18:15:36 +0000 |
commit | 70f89778c0f2f76bc2f8046e99cc55f2962ac9c2 (patch) | |
tree | 14c35099cfb4f4257c5e0b8e589d530fcb829468 /net-im/licq/files/patch-ad | |
parent | Fix typo. (ghostscript55htff -> ghostscript55httf) (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_1_0'.release/4.1.0
Diffstat (limited to 'net-im/licq/files/patch-ad')
-rw-r--r-- | net-im/licq/files/patch-ad | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net-im/licq/files/patch-ad b/net-im/licq/files/patch-ad deleted file mode 100644 index 0d9579f0b76f..000000000000 --- a/net-im/licq/files/patch-ad +++ /dev/null @@ -1,36 +0,0 @@ ---- src/daemon/socket.cpp.orig Wed Mar 29 01:30:14 2000 -+++ src/daemon/socket.cpp Wed Mar 29 01:30:18 2000 -@@ -12,6 +12,7 @@ - #include <netdb.h> - #include <fcntl.h> - #include <unistd.h> -+#include <osreldate.h> - - #ifndef MSG_DONTWAIT - #define MSG_DONTWAIT 0 -@@ -260,7 +261,11 @@ - if (_nFlags & ADDR_LOCAL) - { - // Setup the local structure -- socklen_t sizeofSockaddr = sizeof(struct sockaddr_in); -+ #if __FreeBSD_version < 400013 -+ int sizeofSockaddr = sizeof(struct sockaddr_in); -+ #else -+ socklen_t sizeofSockaddr = sizeof(struct sockaddr_in); -+ #endif - if (getsockname(m_nDescriptor, (struct sockaddr *)&m_sLocalAddr, &sizeofSockaddr) < 0) - { - // errno has been set -@@ -498,7 +503,11 @@ - *---------------------------------------------------------------------------*/ - void TCPSocket::RecvConnection(TCPSocket &newSocket) - { -- socklen_t sizeofSockaddr = sizeof(struct sockaddr_in); -+ #if __FreeBSD_version < 400013 -+ int sizeofSockaddr = sizeof(struct sockaddr_in); -+ #else -+ socklen_t sizeofSockaddr = sizeof(struct sockaddr_in); -+ #endif - newSocket.m_nDescriptor = accept(m_nDescriptor, (struct sockaddr *)&newSocket.m_sRemoteAddr, &sizeofSockaddr); - newSocket.OpenSocket(); - newSocket.SetAddrsFromSocket(ADDR_LOCAL | ADDR_REMOTE); |