summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-media-libsydneyaudio-src-sydney_audio_oss.c
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2011-03-22 15:24:49 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2011-03-22 15:24:49 +0000
commitd8add7cac467361c78bc446d5c0db8d385f18e56 (patch)
tree9f3c0dfdef16328b5cca345328a05666b1760a59 /www/firefox-esr/files/patch-media-libsydneyaudio-src-sydney_audio_oss.c
parent- Connect www/firefox36 and www/firefox36-i18n to the build. (diff)
- Update to 4.0
- Add PGO option to enable Profile-Guided Optimization [1]. PR: ports/132231 [1] (based on) Submitted by: lioux@ [1] Thanks to: andreast@, Anonymous <swell.k AT gmail.com>, decke@, jsa@, swills@ and all the testers for their feedback!
Diffstat (limited to 'www/firefox-esr/files/patch-media-libsydneyaudio-src-sydney_audio_oss.c')
-rw-r--r--www/firefox-esr/files/patch-media-libsydneyaudio-src-sydney_audio_oss.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/www/firefox-esr/files/patch-media-libsydneyaudio-src-sydney_audio_oss.c b/www/firefox-esr/files/patch-media-libsydneyaudio-src-sydney_audio_oss.c
deleted file mode 100644
index 66ce3efd66d3..000000000000
--- a/www/firefox-esr/files/patch-media-libsydneyaudio-src-sydney_audio_oss.c
+++ /dev/null
@@ -1,33 +0,0 @@
---- media/libsydneyaudio/src/sydney_audio_oss.c.orig 2010-10-12 21:45:53.000000000 +0400
-+++ media/libsydneyaudio/src/sydney_audio_oss.c 2010-10-25 23:33:08.919096567 +0400
-@@ -258,6 +258,7 @@
- int
- sa_stream_destroy(sa_stream_t *s) {
- int result = SA_SUCCESS;
-+ pthread_t thread_id;
-
- if (s == NULL) {
- return SA_SUCCESS;
-@@ -265,8 +266,10 @@
-
- pthread_mutex_lock(&s->mutex);
-
-+ thread_id = s->thread_id;
-+
- /*
-- * This causes the thread sending data to ALSA to stop
-+ * This causes the thread sending data to OSS to stop
- */
- s->thread_id = 0;
-
-@@ -281,6 +284,8 @@
-
- pthread_mutex_unlock(&s->mutex);
-
-+ pthread_join(thread_id, NULL);
-+
- /*
- * Release resources.
- */
-
-