Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-ac,v 1.3 2013/03/24 16:51:08 joerg Exp $
--- RTSPClientLib/ClientSocket.cpp.orig 2003-08-15 23:53:20.000000000 +0000
+++ RTSPClientLib/ClientSocket.cpp
@@ -69,7 +69,7 @@ OS_Error ClientSocket::Open(TCPSocket* i
return theErr;
inSocket->NoDelay();
-#if __FreeBSD__ || __MacOSX__
+#if __FreeBSD__ || __MacOSX__ || __NetBSD__ || defined(__DragonFly__)
// no KeepAlive -- probably should be off for all platforms.
#else
inSocket->KeepAlive();
@@ -162,7 +162,7 @@ void TCPClientSocket::SetOptions(int snd
err = ::setsockopt(fSocket.GetSocketFD(), SOL_SOCKET, SO_RCVBUF, (char*)&rcvBufSize, sizeof(int));
AssertV(err == 0, OSThread::GetErrno());
-#if __FreeBSD__ || __MacOSX__
+#if __FreeBSD__ || __MacOSX__ || __NetBSD__ || defined(__DragonFly__)
struct timeval time;
//int len = sizeof(time);
time.tv_sec = 0;