aboutsummaryrefslogtreecommitdiffstats
path: root/testing/firefox/fix-third_party.patch
diff options
context:
space:
mode:
authorIvan Delalande <colona@ycc.fr>2019-09-30 20:55:39 -0700
committerRasmus Thomsen <oss@cogitri.dev>2019-10-03 10:42:07 +0200
commitac320fc40b52add5d4c39dbf471be43ebcf76fd2 (patch)
tree20d6f77cab20e354d4d0657dc4e5303ae58e8ac6 /testing/firefox/fix-third_party.patch
parent4a50f6d7f12eac7518fa62c2c615067b8486bf55 (diff)
downloadaports-ac320fc40b52add5d4c39dbf471be43ebcf76fd2.tar.bz2
aports-ac320fc40b52add5d4c39dbf471be43ebcf76fd2.tar.xz
testing/firefox: upgrade to 69.0.1, enable build on aarch64
Not too familiar with rust, Void's version of fix-third_party.patch might be cleaner or more portable: https://github.com/void-linux/void-packages/blob/3a3d0ef7811ac0c200dd4caba108fa46519dc239/srcpkgs/firefox/patches/initialize_sched_param.patch Also this change updates the checksum of rt_linux.rs used by cargo for validation, whereas they disable checksumming entirely: https://github.com/void-linux/void-packages/blob/3a3d0ef7811ac0c200dd4caba108fa46519dc239/srcpkgs/firefox/template#L42
Diffstat (limited to 'testing/firefox/fix-third_party.patch')
-rw-r--r--testing/firefox/fix-third_party.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/firefox/fix-third_party.patch b/testing/firefox/fix-third_party.patch
new file mode 100644
index 0000000000..0255e729b1
--- /dev/null
+++ b/testing/firefox/fix-third_party.patch
@@ -0,0 +1,22 @@
+--- a/third_party/rust/audio_thread_priority/src/rt_linux.rs
++++ b/third_party/rust/audio_thread_priority/src/rt_linux.rs
+@@ -94,7 +94,12 @@
+ let thread_id = unsafe { libc::syscall(libc::SYS_gettid) };
+ let pthread_id = unsafe { libc::pthread_self() };
+ let mut policy = 0;
+- let mut param = libc::sched_param { sched_priority: 0 };
++ let mut param = libc::sched_param { sched_priority: 0,
++ sched_ss_init_budget: libc::timespec { tv_nsec: 0, tv_sec: 0 },
++ sched_ss_low_priority: 0,
++ sched_ss_max_repl: 0,
++ sched_ss_repl_period: libc::timespec { tv_nsec: 0, tv_sec: 0 },
++ };
+
+ if unsafe { libc::pthread_getschedparam(pthread_id, &mut policy, &mut param) } < 0 {
+ error!("pthread_getschedparam error {}", pthread_id);
+--- a/third_party/rust/audio_thread_priority/.cargo-checksum.json
++++ b/third_party/rust/audio_thread_priority/.cargo-checksum.json
+@@ -1 +1 @@
+-{"files":{"Cargo.toml":"4c85ca3ce6ee93571667a430f548a1c9e73cfa621b2dac9fffa35bf280a90d9e","Makefile":"8c6b9e8afffb14ae03f9cd95bc7d6011c8b4fe01c474aef17360e3f0c4d202ad","README.md":"bcfa4948edf52fdacd485200a0c1c886a92232cc1931eeb4e1044050f46ec253","audio_thread_priority.h":"880889a154283a87cf84218cc4d6b2b9dd2c8fd09adc6d38f527b08ccd0c6168","generate_osx_bindings.sh":"06e4e03450f788ced18d31fff5660919e6f6ec1119ddace363ffeb82f0518a71","src/lib.rs":"d1e04bc2901472ce98be1a79b6844b49e38598eda3e4f8c0e7b08c5b33247375","src/mach_sys.rs":"352560fcb9b41d877cff92e5b3b04d6dc68b1f30508ce4b9aed78940120a883e","src/rt_linux.rs":"238264f4a3e010743ea2f44b3b13cb912f2b57786cd97e583575415d7e84b6b2","src/rt_mach.rs":"381f709a59d21031caf70e1bf4e9c26cd25fd3d2618ae0d91c1fbc236ce519ca","src/rt_win.rs":"f8f5b7af21cadd686cf7d8099d1972d3265c3889574020bd4ea088b832fbfa51"},"package":"047460864ea9f62fbdfb80fc04a2e5d844aef9e50727e6e9730ca58d9f1a9267"}
+\ No newline at end of file
++{"files":{"Cargo.toml":"4c85ca3ce6ee93571667a430f548a1c9e73cfa621b2dac9fffa35bf280a90d9e","Makefile":"8c6b9e8afffb14ae03f9cd95bc7d6011c8b4fe01c474aef17360e3f0c4d202ad","README.md":"bcfa4948edf52fdacd485200a0c1c886a92232cc1931eeb4e1044050f46ec253","audio_thread_priority.h":"880889a154283a87cf84218cc4d6b2b9dd2c8fd09adc6d38f527b08ccd0c6168","generate_osx_bindings.sh":"06e4e03450f788ced18d31fff5660919e6f6ec1119ddace363ffeb82f0518a71","src/lib.rs":"d1e04bc2901472ce98be1a79b6844b49e38598eda3e4f8c0e7b08c5b33247375","src/mach_sys.rs":"352560fcb9b41d877cff92e5b3b04d6dc68b1f30508ce4b9aed78940120a883e","src/rt_linux.rs":"e907a8ab6c5d16d7ac37c26ab55f7a0226d3a8989060cf8a3fceef4285280fc4","src/rt_mach.rs":"381f709a59d21031caf70e1bf4e9c26cd25fd3d2618ae0d91c1fbc236ce519ca","src/rt_win.rs":"f8f5b7af21cadd686cf7d8099d1972d3265c3889574020bd4ea088b832fbfa51"},"package":"047460864ea9f62fbdfb80fc04a2e5d844aef9e50727e6e9730ca58d9f1a9267"}