diff options
author | Rene Ladan <rene@FreeBSD.org> | 2017-11-06 17:59:15 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2017-11-06 17:59:15 +0000 |
commit | ee333bfc93a1e050396f7b1c21942195ec360216 (patch) | |
tree | 046a90a19c440b60f85c28a6494fa33172272c17 /net/libsocketcpp/files | |
parent | Update to 0.37 (diff) |
Remove epired port:
2017-11-05 net/libsocketcpp: Uses gets(3)
Notes
Notes:
svn path=/head/; revision=453637
Diffstat (limited to 'net/libsocketcpp/files')
-rw-r--r-- | net/libsocketcpp/files/patch-src__tcpservertest.cpp | 26 | ||||
-rw-r--r-- | net/libsocketcpp/files/patch-src__tcpsocket.cpp | 11 | ||||
-rw-r--r-- | net/libsocketcpp/files/patch-src__tcptest.cpp | 22 |
3 files changed, 0 insertions, 59 deletions
diff --git a/net/libsocketcpp/files/patch-src__tcpservertest.cpp b/net/libsocketcpp/files/patch-src__tcpservertest.cpp deleted file mode 100644 index 2dcdfc1a999a..000000000000 --- a/net/libsocketcpp/files/patch-src__tcpservertest.cpp +++ /dev/null @@ -1,26 +0,0 @@ ---- src/tcpservertest.cpp.orig 2012-12-03 14:28:35.000000000 +0100 -+++ src/tcpservertest.cpp 2012-12-03 14:28:46.000000000 +0100 -@@ -22,7 +22,7 @@ - - #include <stdio.h> - #include <stdlib.h> --#include <iostream.h> -+#include <iostream> - #include <unistd.h> - #include <sys/wait.h> - #include <sys/types.h> -@@ -30,6 +30,7 @@ - - #include "tcpsocket.h" - -+int - main() { - printf("\r\nInit Object..."); - TCPSocket *MyServerSocket = new TCPSocket; -@@ -67,5 +68,6 @@ - while(waitpid(-1, NULL, WNOHANG) > 0); - } - -+ return 0; - } - diff --git a/net/libsocketcpp/files/patch-src__tcpsocket.cpp b/net/libsocketcpp/files/patch-src__tcpsocket.cpp deleted file mode 100644 index 28b819805d55..000000000000 --- a/net/libsocketcpp/files/patch-src__tcpsocket.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/tcpsocket.cpp.orig Fri Jul 11 15:00:44 2003 -+++ src/tcpsocket.cpp Fri Jul 11 15:00:56 2003 -@@ -212,7 +212,7 @@ - } - - bool TCPSocket::Accept() { -- size_t sin_size = sizeof(struct sockaddr_in); -+ socklen_t sin_size = sizeof(struct sockaddr_in); - //sockaddr_in RemoteAddress; - if((newfd = accept(sockfd, (struct sockaddr *)&RemoteAddress, &sin_size)) == -1) { - perror("accept"); diff --git a/net/libsocketcpp/files/patch-src__tcptest.cpp b/net/libsocketcpp/files/patch-src__tcptest.cpp deleted file mode 100644 index 6dfa402deb74..000000000000 --- a/net/libsocketcpp/files/patch-src__tcptest.cpp +++ /dev/null @@ -1,22 +0,0 @@ ---- src/tcptest.cpp.orig 2001-02-16 19:45:31.000000000 +0100 -+++ src/tcptest.cpp 2012-12-03 14:27:37.000000000 +0100 -@@ -22,8 +22,10 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -+#include <sys/types.h> - #include "tcpsocket.h" - -+int - main() { - char *Host = new char[100]; - char *Buffer = new char[2048]; -@@ -62,6 +64,8 @@ - delete [] Buffer; - delete [] Host; - delete [] TempMsg; -+ -+ return 0; - } - - |