pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-plugin-firefox Add a patch that com...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5266f2a0cc9b
branches:  trunk
changeset: 533633:5266f2a0cc9b
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Sep 22 06:14:59 2007 +0000

description:
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:

 multimedia/mplayer-plugin-firefox/distinfo         |   3 ++-
 multimedia/mplayer-plugin-firefox/patches/patch-ae |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 28f4b9d8135b -r 5266f2a0cc9b multimedia/mplayer-plugin-firefox/distinfo
--- a/multimedia/mplayer-plugin-firefox/distinfo        Sat Sep 22 05:07:49 2007 +0000
+++ b/multimedia/mplayer-plugin-firefox/distinfo        Sat Sep 22 06:14:59 2007 +0000
@@ -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 @@
 SHA1 (patch-aa) = 2a6724f536ad8a08c7766dfb269458df12bb3603
 SHA1 (patch-ab) = 950bec845ef3120e8b63a2343e79d5ded99a8bfa
 SHA1 (patch-ad) = 06699a71bb0f8da969d11a812a544e3aefa4d9a7
+SHA1 (patch-ae) = 885eafce6747ed1f682eb78a6e15a473806924e3
diff -r 28f4b9d8135b -r 5266f2a0cc9b multimedia/mplayer-plugin-firefox/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/patches/patch-ae        Sat Sep 22 06:14:59 2007 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index