pkgsrc/multimedia/xine-lib/patches/patch-bh
joerg b7245d08cb Disable mutex debugging by default, it results in Xine spinning around
all the time at least on DragonFly. Move some inline functions around
so that they exist before they are used, avoiding compilation errors
on DragonFly where -fno-unit-at-a-time is disable by default.
2006-08-14 12:15:38 +00:00

14 lines
371 B
Text

$NetBSD: patch-bh,v 1.3 2006/08/14 12:15:38 joerg Exp $
--- src/xine-utils/xine_mutex.c.orig 2006-06-23 18:24:22.000000000 +0000
+++ src/xine-utils/xine_mutex.c
@@ -29,7 +29,9 @@
#include <pthread.h>
#include "xineutils.h"
+#if 0
#define DBG_MUTEX
+#endif
int xine_mutex_init (xine_mutex_t *mutex, const pthread_mutexattr_t *mutexattr,
const char *id) {