diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2011-07-31 15:43:29 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2011-07-31 15:43:29 +0000 |
commit | 728b894f6d10bbaf508842b375a355462aa2384b (patch) | |
tree | 6392986de89bb0bdb7f44a2a82eafb4e4e432b3f /devel/ice | |
parent | 011dce24ce7dd5253f7e97aaa947acb21339dcd5 (diff) |
Notes
Diffstat (limited to 'devel/ice')
-rw-r--r-- | devel/ice/Makefile | 1 | ||||
-rw-r--r-- | devel/ice/files/patch-cpp-src-Ice-Network.cpp | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/devel/ice/Makefile b/devel/ice/Makefile index a27e10d7bc83..6f2ccf345b8c 100644 --- a/devel/ice/Makefile +++ b/devel/ice/Makefile @@ -7,6 +7,7 @@ PORTNAME= Ice PORTVERSION= 3.4.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://download.zeroc.com/Ice/3.4/ diff --git a/devel/ice/files/patch-cpp-src-Ice-Network.cpp b/devel/ice/files/patch-cpp-src-Ice-Network.cpp new file mode 100644 index 000000000000..c3a95e6dd154 --- /dev/null +++ b/devel/ice/files/patch-cpp-src-Ice-Network.cpp @@ -0,0 +1,15 @@ +--- cpp.orig/src/Ice/Network.cpp 2011-06-15 21:43:58.000000000 +0200 ++++ cpp/src/Ice/Network.cpp 2011-07-15 23:40:26.000000000 +0200 +@@ -715,7 +715,11 @@ + WSASetLastError(error); + #else + int error = errno; +- if(close(fd) == SOCKET_ERROR) ++ if(close(fd) == SOCKET_ERROR ++# if defined(__FreeBSD__) ++ && getSocketErrno() != ECONNRESET ++# endif ++ ) + { + SocketException ex(__FILE__, __LINE__); + ex.error = getSocketErrno(); |