1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/firefox/riscv.patch
3 # Copyright (C) 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- firefox-81.0.2/third_party/rust/authenticator/src/linux/ioctl_riscv.rs.vanilla (nonexistent)
15 +++ firefox-81.0.2/third_party/rust/authenticator/src/linux/ioctl_riscv.rs 2020-10-16 11:37:13.522007639 +0200
17 +/* automatically generated by rust-bindgen */
19 +pub type __u32 = ::std::os::raw::c_uint;
20 +pub const _HIDIOCGRDESCSIZE: __u32 = 1074022401;
21 +pub const _HIDIOCGRDESC: __u32 = 1342457858;
22 --- firefox-81.0.2/third_party/rust/authenticator/src/linux/ioctl_riscv64.rs.vanilla (nonexistent)
23 +++ firefox-81.0.2/third_party/rust/authenticator/src/linux/ioctl_riscv64.rs 2020-10-16 11:37:13.522007639 +0200
25 +/* automatically generated by rust-bindgen */
27 +pub type __u32 = ::std::os::raw::c_uint;
28 +pub const _HIDIOCGRDESCSIZE: __u32 = 1074022401;
29 +pub const _HIDIOCGRDESC: __u32 = 1342457858;
30 --- firefox-94.0.1/third_party/rust/authenticator/build.rs.vanilla 2021-11-05 13:59:30.986672974 +0100
31 +++ firefox-94.0.1/third_party/rust/authenticator/build.rs 2021-11-05 14:01:27.454678982 +0100
33 "ioctl_powerpc64le.rs"
34 } else if cfg!(all(target_arch = "powerpc64", target_endian = "big")) {
35 "ioctl_powerpc64be.rs"
36 + } else if cfg!(target_arch = "riscv") {
38 + } else if cfg!(target_arch = "riscv64") {
40 } else if cfg!(all(target_arch = "arm", target_endian = "little")) {
42 } else if cfg!(all(target_arch = "arm", target_endian = "big")) {
43 --- firefox-94.0.1/third_party/rust/authenticator/src/linux/hidwrapper.rs.vanilla 2021-11-05 13:59:30.983672974 +0100
44 +++ firefox-94.0.1/third_party/rust/authenticator/src/linux/hidwrapper.rs 2021-11-05 14:00:32.606676153 +0100
46 #[cfg(all(target_arch = "powerpc64", target_endian = "big"))]
47 include!("ioctl_powerpc64be.rs");
49 +#[cfg(target_arch = "riscv")]
50 +include!("ioctl_riscv.rs");
52 +#[cfg(target_arch = "riscv64")]
53 +include!("ioctl_riscv64.rs");
55 #[cfg(all(target_arch = "arm", target_endian = "little"))]
56 include!("ioctl_armle.rs");