diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
commit | 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch) | |
tree | 0cfc4f0736babb895eb97a65c6defe632a0249c7 /net/libsocketcpp/files/patch-src__tcpservertest.cpp | |
parent | editors/fte: update to 20110708 (diff) |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Diffstat (limited to 'net/libsocketcpp/files/patch-src__tcpservertest.cpp')
-rw-r--r-- | net/libsocketcpp/files/patch-src__tcpservertest.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net/libsocketcpp/files/patch-src__tcpservertest.cpp b/net/libsocketcpp/files/patch-src__tcpservertest.cpp new file mode 100644 index 000000000000..2dcdfc1a999a --- /dev/null +++ b/net/libsocketcpp/files/patch-src__tcpservertest.cpp @@ -0,0 +1,26 @@ +--- 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; + } + |