diff options
Diffstat (limited to 'audio/libopendaap/patches/patch-aa')
-rw-r--r-- | audio/libopendaap/patches/patch-aa | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/libopendaap/patches/patch-aa b/audio/libopendaap/patches/patch-aa new file mode 100644 index 00000000000..871e209767f --- /dev/null +++ b/audio/libopendaap/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.2.2.1 2005/03/23 13:14:20 salo Exp $ + +--- thread.h.orig 2004-12-14 05:11:09.000000000 +0100 ++++ thread.h +@@ -42,8 +42,8 @@ + pthread_mutexattr_t attr; \ + pthread_mutexattr_init(&attr) ; \ + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); \ +- pthread_mutexattr_destroy(&attr) ; \ + pthread_mutex_init(& m, &attr); \ ++ pthread_mutexattr_destroy(&attr) ; \ + } while (0) + #define ts_mutex_lock(m) pthread_mutex_lock(& m) + #define ts_mutex_unlock(m) pthread_mutex_unlock(& m) |