diff options
author | Greg Lehey <grog@FreeBSD.org> | 2007-02-24 02:30:36 +0000 |
---|---|---|
committer | Greg Lehey <grog@FreeBSD.org> | 2007-02-24 02:30:36 +0000 |
commit | f4e380fb210c4caa2a37bb194a33fd4df75f50f4 (patch) | |
tree | fc425ddc6ae0feccbebe6d02b4a55cfc364f94bf /multimedia/mythtv | |
parent | 8e4d734fe6f421d7e921c52e8f698d8db43f5884 (diff) | |
download | ports-f4e380fb210c4caa2a37bb194a33fd4df75f50f4.tar.gz ports-f4e380fb210c4caa2a37bb194a33fd4df75f50f4.zip |
Notes
Diffstat (limited to 'multimedia/mythtv')
-rw-r--r-- | multimedia/mythtv/files/patch-mainserver.cpp | 32 | ||||
-rw-r--r-- | multimedia/mythtv/files/patch-mpegrecorder.cpp | 19 | ||||
-rw-r--r-- | multimedia/mythtv/files/patch-videodev_myth.h | 21 |
3 files changed, 72 insertions, 0 deletions
diff --git a/multimedia/mythtv/files/patch-mainserver.cpp b/multimedia/mythtv/files/patch-mainserver.cpp new file mode 100644 index 000000000000..69a28c1170de --- /dev/null +++ b/multimedia/mythtv/files/patch-mainserver.cpp @@ -0,0 +1,32 @@ +--- programs/mythbackend/mainserver.cpp.orig Wed Jan 31 22:16:22 2007 ++++ programs/mythbackend/mainserver.cpp Wed Jan 31 16:16:00 2007 +@@ -238,9 +238,9 @@ + return; + } + +- readReadyLock.lock(); ++ // readReadyLock.lock(); + +- sock->Lock(); ++ // sock->Lock(); + + //if (socket->IsInProcess()) + //{ +@@ -287,7 +287,7 @@ + + prt->setup(sock); + +- readReadyLock.unlock(); ++ //readReadyLock.unlock(); + } + + void MainServer::ProcessRequest(MythSocket *sock) +@@ -301,7 +301,7 @@ + ProcessRequestWork(sock); + } + +- sock->Unlock(); ++ //sock->Unlock(); + //sock->SetInProcess(false); + } + diff --git a/multimedia/mythtv/files/patch-mpegrecorder.cpp b/multimedia/mythtv/files/patch-mpegrecorder.cpp new file mode 100644 index 000000000000..2b2acdc96b35 --- /dev/null +++ b/multimedia/mythtv/files/patch-mpegrecorder.cpp @@ -0,0 +1,19 @@ +--- libs/libmythtv/mpegrecorder.cpp.orig Wed Jan 31 22:18:54 2007 ++++ libs/libmythtv/mpegrecorder.cpp Wed Jan 31 16:16:27 2007 +@@ -603,7 +603,7 @@ + tv.tv_usec = 0; + FD_ZERO(&rdset); + FD_SET(readfd, &rdset); +- ++#ifdef _nuniet_ + switch (select(readfd + 1, &rdset, NULL, NULL, &tv)) + { + case -1: +@@ -627,6 +627,7 @@ + + default: break; + } ++#endif + + ret = read(readfd, buffer, bufferSize); + diff --git a/multimedia/mythtv/files/patch-videodev_myth.h b/multimedia/mythtv/files/patch-videodev_myth.h new file mode 100644 index 000000000000..ff77c0c8b7ae --- /dev/null +++ b/multimedia/mythtv/files/patch-videodev_myth.h @@ -0,0 +1,21 @@ +--- ./libs/libmythtv/videodev_myth.h.orig Wed Jan 31 22:16:51 2007 ++++ ./libs/libmythtv/videodev_myth.h Wed Jan 31 22:28:06 2007 +@@ -5,12 +5,12 @@ + + #if defined(__FreeBSD__) || defined(CONFIG_DARWIN) + #include <sys/types.h> +-typedef unsigned long __u32; +-typedef unsigned short __u16; +-typedef int __s32; +-typedef unsigned char __u8; +-typedef unsigned long long __u64; +-typedef long long __s64; ++typedef uint32_t __u32; ++typedef uint16_t __u16; ++typedef int32_t __s32; ++typedef uint8_t __u8; ++typedef uint32_t __u64; ++typedef int32_t __s64; + #else + #include <linux/types.h> + #include <linux/version.h> |