summarylogtreecommitdiffstats
path: root/rb111682.patch
diff options
context:
space:
mode:
Diffstat (limited to 'rb111682.patch')
-rw-r--r--rb111682.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/rb111682.patch b/rb111682.patch
new file mode 100644
index 000000000000..0d788da3f6ce
--- /dev/null
+++ b/rb111682.patch
@@ -0,0 +1,51 @@
+diff --git a/media/libstagefright/binding/mp4parse-cargo.patch b/media/libstagefright/binding/mp4parse-cargo.patch
+--- a/media/libstagefright/binding/mp4parse-cargo.patch
++++ b/media/libstagefright/binding/mp4parse-cargo.patch
+@@ -22,22 +22,23 @@ index ff9422c..814c4c6 100644
+ -
+ # Somewhat heavy-handed, but we want at least -Z force-overflow-checks=on.
+ [profile.release]
+ debug-assertions = true
+ diff --git a/media/libstagefright/binding/mp4parse_capi/Cargo.toml b/media/libstagefright/binding/mp4parse_capi/Cargo.toml
+ index aeeebc65..5c0836a 100644
+ --- a/media/libstagefright/binding/mp4parse_capi/Cargo.toml
+ +++ b/media/libstagefright/binding/mp4parse_capi/Cargo.toml
+-@@ -18,18 +18,10 @@ exclude = [
++@@ -18,18 +18,12 @@ exclude = [
+ "*.mp4",
+ ]
+
+ -build = "build.rs"
+--
+++build = false
++
+ [dependencies]
+ byteorder = "1.0.0"
+ "mp4parse" = {version = "0.6.0", path = "../mp4parse"}
+
+ -[build-dependencies]
+ -rusty-cheddar = "0.3.2"
+ -
+ -[features]
+diff --git a/media/libstagefright/binding/mp4parse_capi/Cargo.toml b/media/libstagefright/binding/mp4parse_capi/Cargo.toml
+--- a/media/libstagefright/binding/mp4parse_capi/Cargo.toml
++++ b/media/libstagefright/binding/mp4parse_capi/Cargo.toml
+@@ -13,15 +13,17 @@ license = "MPL-2.0"
+
+ repository = "https://github.com/mozilla/mp4parse-rust"
+
+ # Avoid complaints about trying to package test files.
+ exclude = [
+ "*.mp4",
+ ]
+
++build = false
++
+ [dependencies]
+ byteorder = "1.0.0"
+ "mp4parse" = {version = "0.6.0", path = "../mp4parse"}
+
+ # Somewhat heavy-handed, but we want at least -Z force-overflow-checks=on.
+ [profile.release]
+ debug-assertions = true
+