Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40396 from andir/18.03/firefox-60
[18.03] firefox-{esr,} 60
- Loading branch information
Showing
9 changed files
with
488 additions
and
430 deletions.
There are no files selected for viewing
788 changes: 399 additions & 389 deletions
788
pkgs/applications/networking/browsers/firefox-bin/release_sources.nix
Large diffs are not rendered by default.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
pkgs/applications/networking/browsers/firefox/fix-pa-context-connect-retval.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Yep, it's a "return code was ignored" bug. | ||
diff --git a/media/libcubeb/src/cubeb_pulse.c b/media/libcubeb/src/cubeb_pulse.c | ||
index aaaaaaaaaaa..bbbbbbbbbbb 100644 | ||
--- a/media/libcubeb/src/cubeb_pulse.c | ||
+++ b/media/libcubeb/src/cubeb_pulse.c | ||
@@ -473,6 +473,8 @@ | ||
static int | ||
pulse_context_init(cubeb * ctx) | ||
{ | ||
+ int r; | ||
+ | ||
if (ctx->context) { | ||
assert(ctx->error == 1); | ||
pulse_context_destroy(ctx); | ||
@@ -486,9 +488,9 @@ | ||
WRAP(pa_context_set_state_callback)(ctx->context, context_state_callback, ctx); | ||
|
||
WRAP(pa_threaded_mainloop_lock)(ctx->mainloop); | ||
- WRAP(pa_context_connect)(ctx->context, NULL, 0, NULL); | ||
+ r = WRAP(pa_context_connect)(ctx->context, NULL, 0, NULL); | ||
|
||
- if (wait_until_context_ready(ctx) != 0) { | ||
+ if (r < 0 || wait_until_context_ready(ctx) != 0) { | ||
WRAP(pa_threaded_mainloop_unlock)(ctx->mainloop); | ||
pulse_context_destroy(ctx); | ||
ctx->context = NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters