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__tcptest.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__tcptest.cpp')
| -rw-r--r-- | net/libsocketcpp/files/patch-src__tcptest.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/libsocketcpp/files/patch-src__tcptest.cpp b/net/libsocketcpp/files/patch-src__tcptest.cpp new file mode 100644 index 000000000000..6dfa402deb74 --- /dev/null +++ b/net/libsocketcpp/files/patch-src__tcptest.cpp @@ -0,0 +1,22 @@ +--- 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; + } + + |
