diff options
author | erwin <erwin@FreeBSD.org> | 2003-07-11 21:10:26 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-07-11 21:10:26 +0800 |
commit | a46d22d672d6118fccdbaf2b2d2778bdab3ebb69 (patch) | |
tree | 1b2da8db45c442c1f29d2ad611542358dca65c39 /net | |
parent | bcdb232573807e42bd8fe37b75cd6f5dffadcc34 (diff) | |
download | freebsd-ports-graphics-a46d22d672d6118fccdbaf2b2d2778bdab3ebb69.tar.gz freebsd-ports-graphics-a46d22d672d6118fccdbaf2b2d2778bdab3ebb69.tar.zst freebsd-ports-graphics-a46d22d672d6118fccdbaf2b2d2778bdab3ebb69.zip |
add patch to fix build on alpha/sparc64
Noticed by: bento via kris
Diffstat (limited to 'net')
-rw-r--r-- | net/libsocketcpp/files/patch-src::tcpsocket.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/libsocketcpp/files/patch-src::tcpsocket.cpp b/net/libsocketcpp/files/patch-src::tcpsocket.cpp new file mode 100644 index 00000000000..28b819805d5 --- /dev/null +++ b/net/libsocketcpp/files/patch-src::tcpsocket.cpp @@ -0,0 +1,11 @@ +--- 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"); |