From 538d886d45750bf8243caaf5f96e7fdffab25a34 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Thu, 20 Apr 2006 16:42:18 +0000 Subject: Add patch to void crashing on cleanup, thanks to Matthias Langer for the help testing in bug #125479. (Portage version: 2.1_pre7-r5) --- .../files/alsaplayer-0.99.76-join-null-thread.patch | 13 +++++++++++++ media-sound/alsaplayer/files/digest-alsaplayer-0.99.76-r3 | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 media-sound/alsaplayer/files/alsaplayer-0.99.76-join-null-thread.patch create mode 100644 media-sound/alsaplayer/files/digest-alsaplayer-0.99.76-r3 (limited to 'media-sound/alsaplayer/files') 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 -- cgit v1.2.3-65-gdbad