freebsd-ports/multimedia/vdr-plugin-softdevice/files/patch-VdrReplacements.c
Juergen Lock 396d80a6a1 http://www.linuxtv.org/vdrwiki/index.php/Softdevice-plugin
This VDR plugin is a MPEG2 decoder.
It can be used as an output device for the vdr. Possible output devices are
Xv, DirectFB, Vidix or a framebuffer.

WWW: http://softdevice.berlios.de/
2011-03-26 19:20:28 +00:00

11 lines
376 B
C

--- VdrReplacements.c.orig
+++ VdrReplacements.c
@@ -16,7 +16,7 @@
cMutex::cMutex() {
pthread_mutexattr_t attr;
pthread_mutexattr_init(&attr);
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__FreeBSD__)
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK);
#else
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);