From b1bdcce818a13272316d70a239233db29b754af7 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Sat, 22 Sep 2007 06:14:59 +0000 Subject: 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. --- multimedia/mplayer-plugin-firefox/distinfo | 3 ++- multimedia/mplayer-plugin-firefox/patches/patch-ae | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 multimedia/mplayer-plugin-firefox/patches/patch-ae (limited to 'multimedia') 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; -- cgit v1.2.3