1 |
commit: a5ee1cbf16727382aabe194a46fc59bd4a5c1c0e |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 28 18:53:57 2014 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 28 18:59:34 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=a5ee1cbf |
7 |
|
8 |
bump 34.0 beta, add patch to fix webm segfault |
9 |
|
10 |
--- |
11 |
www-client/firefox/Manifest | 2 +- |
12 |
...refox-31.0-webm-disallow-negative-samples.patch | 29 ++++++++++++++++++++++ |
13 |
...34.0_beta2.ebuild => firefox-34.0_beta4.ebuild} | 2 ++ |
14 |
3 files changed, 32 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest |
17 |
index a55d4f9..04ae2ce 100644 |
18 |
--- a/www-client/firefox/Manifest |
19 |
+++ b/www-client/firefox/Manifest |
20 |
@@ -83,4 +83,4 @@ DIST firefox-33.0-zh-TW.xpi 422430 SHA256 88e13c51ab2cde95ca274c458c73af74fe2b4a |
21 |
DIST firefox-33.0-zu.xpi 443460 SHA256 6deb6b853ec1923ab325332d2eb5e96e6a0cea443d447203dff0cff5352c15bf SHA512 39cf08663bf7ea3668bbddba84aa4c27fa365e6a43132c02ce78c6a63327bbc212ea179fcdd562c1962b4d167b17186c5d56dafe3267dcc4f32ee22c671b1e1f WHIRLPOOL 56a5729de1f5daf0d5c177e40e8e58def910558c6837c40b3fb22cdb11dec347894fd23c1bd2aa4fe3f42937dadba87bf932bcff7c053300abb408b0f852fcd8 |
22 |
DIST firefox-33.0.source.tar.bz2 155177527 SHA256 1018c2fae8c54c8a45f5a3ce348a2617a3f8039a789b09b7cfa5a27be069b229 SHA512 856585bedb0c0cc2a5c8591a5a3d373dca66fd8c15dd2c04b09e17e9a2da2bf978e4bff872a814b42e1963c3a6def05ccc0b68d9a8f4e7c9152dca878cf17e51 WHIRLPOOL be267b29bc9d21b6f0d35d1e42410afe9a0d6bed9174f5de5bfd80898fd1a73fc4e762a7e606c94c99562c6ac2b99eb33022509a85f5a762685cf26496a2744b |
23 |
DIST firefox-34.0-patches-0.1.tar.xz 4412 SHA256 29cd2fee297ca23b9552c134051d663ad5d7b2f7acdec8e441889cc82553d373 SHA512 dd2099cb8f5c8a411439afc4aa16cfabc8bab56ff090c4e84cbe54143b177ae141c48398b6a71c7506bada50223e01a8b1eec12b5e274353803b50de6c253b8c WHIRLPOOL 71ae7630bb5b0eff082d7a7cc89b3524b886bfe3af5556c27a47643839b166d36945a2f7e0afbd9b36ea8b4c0629daa660aeed23ad548f9a9d079a4252c1c363 |
24 |
-DIST firefox-34.0b2.source.tar.bz2 164311277 SHA256 7087f7b36c2f7aaabcbb11f94a0a7d5e4ea0b17a6ac54f6fe7ba947566d03097 SHA512 2d263ea92c54ad87f390acd6c2bdf3ce5713f22b902efba28e8b5f0a7a97eec2bd4748b49842700d0e13ea4179b95c2c498d5071f4d6f066455af7ed003978f2 WHIRLPOOL 4393eda13fb1f8fa0cfed91424db7682779c5db492fcb1e641885bafd4c2e6f8eb17f38d23fe1900e2ea655cad0f51dc663eb788abd29f37f01f50084db04883 |
25 |
+DIST firefox-34.0b4.source.tar.bz2 164290577 SHA256 b37a84e6fcf262ce3d4e9244150033d7fd5893ac954b5347c129ac65840e56a1 SHA512 16225804242952ab68526c543b36daf4fc66026ee9264f0e8c113151f54cae9ce90f18e85ad6f66244006a5156eb4d67d4bd793bb7b06a00132b746ce1c853ac WHIRLPOOL 22e7b97c567d2803e2e377f2f09535682515f3d4f764bafa1dfce72960bc125290ea63cff1781152f1181efa61e9b6eac6c852d18d2da46c0e39f70f20ddae0b |
26 |
|
27 |
diff --git a/www-client/firefox/files/firefox-31.0-webm-disallow-negative-samples.patch b/www-client/firefox/files/firefox-31.0-webm-disallow-negative-samples.patch |
28 |
new file mode 100644 |
29 |
index 0000000..bccc25e |
30 |
--- /dev/null |
31 |
+++ b/www-client/firefox/files/firefox-31.0-webm-disallow-negative-samples.patch |
32 |
@@ -0,0 +1,29 @@ |
33 |
+--- a/content/media/webm/WebMReader.cpp 2014-10-20 21:59:39.000000000 -0400 |
34 |
++++ b/content/media/webm/WebMReader.cpp 2014-10-28 09:06:51.959665416 -0400 |
35 |
+@@ -668,7 +668,15 @@ |
36 |
+ return true; |
37 |
+ } |
38 |
+ int32_t keepFrames = frames - skipFrames; |
39 |
++ if (keepFrames < 0) { |
40 |
++ NS_WARNING("Int overflow in keepFrames"); |
41 |
++ return false; |
42 |
++ } |
43 |
+ int samples = keepFrames * channels; |
44 |
++ if (samples < 0) { |
45 |
++ NS_WARNING("Int overflow in samples"); |
46 |
++ return false; |
47 |
++ } |
48 |
+ nsAutoArrayPtr<AudioDataValue> trimBuffer(new AudioDataValue[samples]); |
49 |
+ for (int i = 0; i < samples; i++) |
50 |
+ trimBuffer[i] = buffer[skipFrames*channels + i]; |
51 |
+@@ -691,6 +699,10 @@ |
52 |
+ int32_t keepFrames = frames - discardFrames.value(); |
53 |
+ if (keepFrames > 0) { |
54 |
+ int samples = keepFrames * channels; |
55 |
++ if (samples < 0) { |
56 |
++ NS_WARNING("Int overflow in samples"); |
57 |
++ return false; |
58 |
++ } |
59 |
+ nsAutoArrayPtr<AudioDataValue> trimBuffer(new AudioDataValue[samples]); |
60 |
+ for (int i = 0; i < samples; i++) |
61 |
+ trimBuffer[i] = buffer[i]; |
62 |
|
63 |
diff --git a/www-client/firefox/firefox-34.0_beta2.ebuild b/www-client/firefox/firefox-34.0_beta4.ebuild |
64 |
similarity index 99% |
65 |
rename from www-client/firefox/firefox-34.0_beta2.ebuild |
66 |
rename to www-client/firefox/firefox-34.0_beta4.ebuild |
67 |
index 3f28ef9..26857ae 100644 |
68 |
--- a/www-client/firefox/firefox-34.0_beta2.ebuild |
69 |
+++ b/www-client/firefox/firefox-34.0_beta4.ebuild |
70 |
@@ -147,6 +147,8 @@ src_prepare() { |
71 |
EPATCH_FORCE="yes" \ |
72 |
epatch "${WORKDIR}/firefox" |
73 |
|
74 |
+ epatch "${FILESDIR}"/${PN}-31.0-webm-disallow-negative-samples.patch # bug 527010 |
75 |
+ |
76 |
# Allow user to apply any additional patches without modifing ebuild |
77 |
epatch_user |