summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2007-09-22 06:14:59 +0000
committerxtraeme <xtraeme>2007-09-22 06:14:59 +0000
commitdb1c69c25b8d67fc6b66961459b1c99608f91264 (patch)
tree8cfafdc5b18225113208bbfad25b840db897380c /multimedia
parentbba814ccfc8d7524da72550db20adaef3317b2ce (diff)
downloadpkgsrc-db1c69c25b8d67fc6b66961459b1c99608f91264.tar.gz
Add a patch that comments out a pthread_mutex_unlock() call, at this
point the mutex is not locked and triggers an assertion on NetBSD when the video play has finished.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer-plugin-firefox/distinfo3
-rw-r--r--multimedia/mplayer-plugin-firefox/patches/patch-ae13
2 files changed, 15 insertions, 1 deletions
diff --git a/multimedia/mplayer-plugin-firefox/distinfo b/multimedia/mplayer-plugin-firefox/distinfo
index 4dfc078d34f..bf3cdf8f2e0 100644
--- a/multimedia/mplayer-plugin-firefox/distinfo
+++ b/multimedia/mplayer-plugin-firefox/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2007/09/09 19:30:07 xtraeme Exp $
+$NetBSD: distinfo,v 1.4 2007/09/22 06:14:59 xtraeme Exp $
SHA1 (mplayerplug-in-3.45.tar.gz) = 39a888c6e65b83f862abef83f5e0381ec7a6a6ea
RMD160 (mplayerplug-in-3.45.tar.gz) = 6a9700860397a6c7952b8e2ea8a9a610376a1528
@@ -6,3 +6,4 @@ Size (mplayerplug-in-3.45.tar.gz) = 228032 bytes
SHA1 (patch-aa) = 2a6724f536ad8a08c7766dfb269458df12bb3603
SHA1 (patch-ab) = 950bec845ef3120e8b63a2343e79d5ded99a8bfa
SHA1 (patch-ad) = 06699a71bb0f8da969d11a812a544e3aefa4d9a7
+SHA1 (patch-ae) = 885eafce6747ed1f682eb78a6e15a473806924e3
diff --git a/multimedia/mplayer-plugin-firefox/patches/patch-ae b/multimedia/mplayer-plugin-firefox/patches/patch-ae
new file mode 100644
index 00000000000..9ac70573091
--- /dev/null
+++ b/multimedia/mplayer-plugin-firefox/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.3 2007/09/22 06:14:59 xtraeme Exp $
+
+--- Source/plugin-threads.cpp.orig 2007-09-22 08:07:14.000000000 +0200
++++ Source/plugin-threads.cpp 2007-09-22 08:08:18.000000000 +0200
+@@ -2302,7 +2302,7 @@
+ local_td->argv[argc++] = NULL;
+ }
+ pthread_mutex_unlock(&(local_td->instance->control_mutex));
+- pthread_mutex_unlock(&(local_td->instance->playlist_cond_mutex));
++ // pthread_mutex_unlock(&(local_td->instance->playlist_cond_mutex));
+ // since thread is dead, reset thread state variables.
+ local_td->instance->threadsetup = 0;
+ local_td->instance->threadlaunched = 0;