diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-01-09 06:22:41 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-01-09 06:22:41 +0800 |
commit | 8039e2420d1da9a88102d5df7f194ab7456d384f (patch) | |
tree | c321bff40ebe23c438f288ab4459488c5943dbb0 /net/licq/files | |
parent | 343eada3d1b2543d84e1204304d3ffd12834331e (diff) | |
download | freebsd-ports-gnome-8039e2420d1da9a88102d5df7f194ab7456d384f.tar.gz freebsd-ports-gnome-8039e2420d1da9a88102d5df7f194ab7456d384f.tar.zst freebsd-ports-gnome-8039e2420d1da9a88102d5df7f194ab7456d384f.zip |
licq:
- Update to 1.2.3
- default config now prefix aware
- Update PKG_MESSAGE for gtk plugin
licq-qt-gui:
- Update to 1.2.3
licq-console:
- Update to 1.2.3
- user newer autoconf/automake
licq-jons-gtk-gui:
- Update to 1.2.3 (0.20.1)
Diffstat (limited to 'net/licq/files')
-rw-r--r-- | net/licq/files/patch-socket.cpp | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/net/licq/files/patch-socket.cpp b/net/licq/files/patch-socket.cpp index 352f77ab89ae..809c4e6a6ee6 100644 --- a/net/licq/files/patch-socket.cpp +++ b/net/licq/files/patch-socket.cpp @@ -1,5 +1,5 @@ ---- src/socket.cpp.orig Tue Jul 23 07:22:13 2002 -+++ src/socket.cpp Mon Dec 16 19:21:03 2002 +--- src/socket.cpp.orig Thu Jan 2 22:08:06 2003 ++++ src/socket.cpp Wed Jan 8 07:58:47 2003 @@ -13,6 +13,9 @@ #include <netdb.h> #include <fcntl.h> @@ -10,16 +10,7 @@ #ifdef HAVE_INET_ATON #include <arpa/inet.h> -@@ -304,6 +307,8 @@ - // Setup the local structure - #ifdef USE_SOCKS5 - int sizeofSockaddr = sizeof(struct sockaddr_in); -+#elif defined(__FreeBSD__) && __FreeBSD_version < 400013 -+ int sizeofSockaddr = sizeof(struct sockaddr_in); - #else - socklen_t sizeofSockaddr = sizeof(struct sockaddr_in); - #endif -@@ -416,7 +421,11 @@ +@@ -427,7 +430,11 @@ m_sRemoteAddr.sin_family = AF_INET; // if connect fails then call CloseConnection to clean up before returning @@ -31,12 +22,3 @@ if (connect(m_nDescriptor, (struct sockaddr *)&m_sRemoteAddr, sizeofSockaddr) < 0) { // errno has been set -@@ -691,6 +700,8 @@ - void TCPSocket::RecvConnection(TCPSocket &newSocket) - { - #ifdef USE_SOCKS5 -+ int sizeofSockaddr = sizeof(struct sockaddr_in); -+#elif defined(__FreeBSD__) && __FreeBSD_version < 400013 - int sizeofSockaddr = sizeof(struct sockaddr_in); - #else - socklen_t sizeofSockaddr = sizeof(struct sockaddr_in); |