summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-07-24 01:19:34 +0000
committerwiz <wiz@pkgsrc.org>2004-07-24 01:19:34 +0000
commit7beb3c424cc62de40f4c44095f5dd509d6315c62 (patch)
treede74e9b6e39d43509d35a3665a60fbe4f2304041 /multimedia/mplayer-share
parentebe42f22b1647d0c8c70fd6ca7f96737ce8c83b9 (diff)
downloadpkgsrc-7beb3c424cc62de40f4c44095f5dd509d6315c62.tar.gz
Unlocking a mutex before destroying it makes libpthread much happier.
Diffstat (limited to 'multimedia/mplayer-share')
-rw-r--r--multimedia/mplayer-share/distinfo3
-rw-r--r--multimedia/mplayer-share/patches/patch-ab16
2 files changed, 18 insertions, 1 deletions
diff --git a/multimedia/mplayer-share/distinfo b/multimedia/mplayer-share/distinfo
index 2b51f93ba71..8363dcf1161 100644
--- a/multimedia/mplayer-share/distinfo
+++ b/multimedia/mplayer-share/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2004/07/20 22:04:44 salo Exp $
+$NetBSD: distinfo,v 1.12 2004/07/24 01:19:35 wiz Exp $
SHA1 (mplayer-1.0rc5/MPlayer-1.0pre5.tar.bz2) = cf64892871b8673e452b5d390be25144d85fe307
Size (mplayer-1.0rc5/MPlayer-1.0pre5.tar.bz2) = 5072836 bytes
@@ -9,4 +9,5 @@ Size (mplayer-1.0rc5/font-arial-iso-8859-2.tar.bz2) = 222208 bytes
SHA1 (mplayer-1.0rc5/font-arial-cp1250.tar.bz2) = ccf11dce5d0fb72fd3af97f788b7471cd0cd0b68
Size (mplayer-1.0rc5/font-arial-cp1250.tar.bz2) = 249705 bytes
SHA1 (patch-aa) = 9a90cadba608c518e998024f8dbde39cbfab70da
+SHA1 (patch-ab) = 68e81c67cd3902499f912d3ca8c6d6bc208a2433
SHA1 (patch-ad) = 95c8741263b822e20eea3da00ca64923ed91c53b
diff --git a/multimedia/mplayer-share/patches/patch-ab b/multimedia/mplayer-share/patches/patch-ab
new file mode 100644
index 00000000000..36695af3cb0
--- /dev/null
+++ b/multimedia/mplayer-share/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.3 2004/07/24 01:19:35 wiz Exp $
+
+--- loader/win32.c.orig 2004-07-01 00:00:53.000000000 +0200
++++ loader/win32.c
+@@ -444,8 +444,10 @@ static int my_release(void* memory)
+
+ if (last_alloc)
+ pthread_mutex_unlock(&memmut);
+- else
++ else {
++ pthread_mutex_unlock(&memmut);
+ pthread_mutex_destroy(&memmut);
++ }
+
+ //if (alccnt < 40000) printf("MY_RELEASE: %p\t%ld (%d)\n", header, header->size, alccnt);
+ #else