summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-20 16:42:18 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-20 16:42:18 +0000
commit538d886d45750bf8243caaf5f96e7fdffab25a34 (patch)
tree91080552af455f88ce864677ab3cc0b2c7fce48c /media-sound/alsaplayer/files
parentPrepare for old-style PHP masking. (diff)
downloadgentoo-2-538d886d45750bf8243caaf5f96e7fdffab25a34.tar.gz
gentoo-2-538d886d45750bf8243caaf5f96e7fdffab25a34.tar.bz2
gentoo-2-538d886d45750bf8243caaf5f96e7fdffab25a34.zip
Add patch to void crashing on cleanup, thanks to Matthias Langer for the help testing in bug #125479.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'media-sound/alsaplayer/files')
-rw-r--r--media-sound/alsaplayer/files/alsaplayer-0.99.76-join-null-thread.patch13
-rw-r--r--media-sound/alsaplayer/files/digest-alsaplayer-0.99.76-r33
2 files changed, 16 insertions, 0 deletions
diff --git a/media-sound/alsaplayer/files/alsaplayer-0.99.76-join-null-thread.patch b/media-sound/alsaplayer/files/alsaplayer-0.99.76-join-null-thread.patch
new file mode 100644
index 000000000000..39e3cf20e88b
--- /dev/null
+++ b/media-sound/alsaplayer/files/alsaplayer-0.99.76-join-null-thread.patch
@@ -0,0 +1,13 @@
+Index: alsaplayer-0.99.76/app/AlsaNode.cpp
+===================================================================
+--- alsaplayer-0.99.76.orig/app/AlsaNode.cpp
++++ alsaplayer-0.99.76/app/AlsaNode.cpp
+@@ -473,7 +473,7 @@ void AlsaNode::StopStreaming()
+ }
+
+ looping = false;
+- if (pthread_join(looper_thread, NULL)) {
++ if (looper_thread != NULL && pthread_join(looper_thread, NULL)) {
+ // Hmmm
+ }
+ }
diff --git a/media-sound/alsaplayer/files/digest-alsaplayer-0.99.76-r3 b/media-sound/alsaplayer/files/digest-alsaplayer-0.99.76-r3
new file mode 100644
index 000000000000..c07d8c1270ba
--- /dev/null
+++ b/media-sound/alsaplayer/files/digest-alsaplayer-0.99.76-r3
@@ -0,0 +1,3 @@
+MD5 a5566c15dbae1f5c86a08482eb405725 alsaplayer-0.99.76.tar.bz2 608591
+RMD160 24e3548e7513d88b9fc9167b1d4dd8496b87ca11 alsaplayer-0.99.76.tar.bz2 608591
+SHA256 6222dc8460c717a17ef6acc26b101078a71c1e14cb320565e1bd5f9e05f8bd35 alsaplayer-0.99.76.tar.bz2 608591