diff options
Diffstat (limited to 'multimedia/nmm/files/patch-nmm_utils_net_SockStream_Linux_cpp')
-rw-r--r-- | multimedia/nmm/files/patch-nmm_utils_net_SockStream_Linux_cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/multimedia/nmm/files/patch-nmm_utils_net_SockStream_Linux_cpp b/multimedia/nmm/files/patch-nmm_utils_net_SockStream_Linux_cpp deleted file mode 100644 index 53f14ce0a7ad..000000000000 --- a/multimedia/nmm/files/patch-nmm_utils_net_SockStream_Linux_cpp +++ /dev/null @@ -1,33 +0,0 @@ ---- nmm/utils/net/SockStream_Linux.cpp.orig 2007-08-13 23:43:07.000000000 +0200 -+++ nmm/utils/net/SockStream_Linux.cpp 2008-04-25 16:53:19.270356178 +0200 -@@ -266,6 +266,14 @@ - return size; - } - -+#if defined(__FreeBSD__) -+// FreeBSD since 4.5 has the same semantics. -+// As 4.5 is a very old release and not supported by FreeBSD anymore, there's -+// no special check, we just assume the way too old releases are not used -+// with NMM. -+#define TCP_CORK TCP_NOPUSH -+#endif -+ - #ifndef __CYGWIN__ - void SockStream::enablePartialFrames(const bool& value){ - #ifndef BUILD_MACOSX -@@ -282,14 +290,12 @@ - - bool SockStream::isPartialFramesEnabled(){ - int retval = 0; --#ifndef __CYGWIN__ --#ifndef BUILD_MACOSX -+#if !defined(BUILD_MACOSX) && !defined(__CYGWIN__) - unsigned int size = sizeof(retval); - if (getsockopt(getSocket(), SOL_TCP, TCP_CORK, reinterpret_cast<char*>(&retval), &size) == -1) { - createSetSockOptException(errno); - } - #endif --#endif - return retval; - } - |