aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-07-11 21:10:26 +0800
committererwin <erwin@FreeBSD.org>2003-07-11 21:10:26 +0800
commita46d22d672d6118fccdbaf2b2d2778bdab3ebb69 (patch)
tree1b2da8db45c442c1f29d2ad611542358dca65c39 /net
parentbcdb232573807e42bd8fe37b75cd6f5dffadcc34 (diff)
downloadfreebsd-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.cpp11
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");