summaryrefslogtreecommitdiff
path: root/audio/libopendaap
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-03-23 10:52:54 +0000
committerjmmv <jmmv@pkgsrc.org>2005-03-23 10:52:54 +0000
commitf24d42b923cb257eab819ae5c92104dfa57bc531 (patch)
treee632577063637d642d96d636babeb56da7f6a674 /audio/libopendaap
parent914945d067fc4957d56415662bb4fc0c22a01416 (diff)
downloadpkgsrc-f24d42b923cb257eab819ae5c92104dfa57bc531.tar.gz
Fix a threading problem (mutexattr used after it's destroyed).
Patch was in PR pkg/29644 by Antoine Reilles, but I overlooked it. Bump PKGREVISION to 1.
Diffstat (limited to 'audio/libopendaap')
-rw-r--r--audio/libopendaap/Makefile3
-rw-r--r--audio/libopendaap/distinfo3
-rw-r--r--audio/libopendaap/patches/patch-aa14
3 files changed, 18 insertions, 2 deletions
diff --git a/audio/libopendaap/Makefile b/audio/libopendaap/Makefile
index 864632a163d..ea3ac1a29f6 100644
--- a/audio/libopendaap/Makefile
+++ b/audio/libopendaap/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2005/03/07 15:30:44 adam Exp $
+# $NetBSD: Makefile,v 1.4 2005/03/23 10:52:54 jmmv Exp $
DISTNAME= libopendaap-0.3.0
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://crazney.net/programs/itunes/files/
EXTRACT_SUFX= .tar.bz2
diff --git a/audio/libopendaap/distinfo b/audio/libopendaap/distinfo
index 752eb22c8c8..173be36b2a9 100644
--- a/audio/libopendaap/distinfo
+++ b/audio/libopendaap/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.7 2005/03/18 12:17:04 wiz Exp $
+$NetBSD: distinfo,v 1.8 2005/03/23 10:52:54 jmmv Exp $
SHA1 (libopendaap-0.3.0.tar.bz2) = 21817a7886ffc8c4d88c621231569562c61356db
RMD160 (libopendaap-0.3.0.tar.bz2) = 2218783e40e7f48a7b89b2e27145e4964f7dd687
Size (libopendaap-0.3.0.tar.bz2) = 365682 bytes
+SHA1 (patch-aa) = 89798e5b906cb3b92748b61f113542dfc4d7d22a
SHA1 (patch-ab) = 3bd01a3038505721149a8ea56f564442b035cee4
SHA1 (patch-ac) = d723c22d11df6d511290d45ccb54861fbecc178d
SHA1 (patch-ad) = 88b72f80e4a6ed68f7ae74ace3f3dbf07709c0b1
diff --git a/audio/libopendaap/patches/patch-aa b/audio/libopendaap/patches/patch-aa
new file mode 100644
index 00000000000..08c91ede434
--- /dev/null
+++ b/audio/libopendaap/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2005/03/23 10:52:54 jmmv 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)