# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/librewolf/riscv.patch # Copyright (C) 2021 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- firefox-109.0/third_party/rust/authenticator/src/transport/linux/ioctl_riscv.rs.vanilla (nonexistent) +++ firefox-109.0/third_party/rust/authenticator/src/transport/linux/ioctl_riscv.rs 2020-10-16 11:37:13.522007639 +0200 @@ -0,0 +1,5 @@ +/* automatically generated by rust-bindgen */ + +pub type __u32 = ::std::os::raw::c_uint; +pub const _HIDIOCGRDESCSIZE: __u32 = 1074022401; +pub const _HIDIOCGRDESC: __u32 = 1342457858; --- firefox-109.0/third_party/rust/authenticator/build.rs.vanilla 2021-11-05 13:59:30.986672974 +0100 +++ firefox-109.0/third_party/rust/authenticator/build.rs 2021-11-05 14:01:27.454678982 +0100 @@ -35,6 +35,8 @@ "ioctl_powerpc64le.rs" } else if cfg!(all(target_arch = "powerpc64", target_endian = "big")) { "ioctl_powerpc64be.rs" + } else if cfg!(target_arch = "riscv") { + "ioctl_riscv.rs" } else if cfg!(all(target_arch = "arm", target_endian = "little")) { "ioctl_armle.rs" } else if cfg!(all(target_arch = "arm", target_endian = "big")) { --- firefox-94.0.1/third_party/rust/authenticator/src/transport/linux/hidwrapper.rs.vanilla 2021-11-05 13:59:30.983672974 +0100 +++ firefox-94.0.1/third_party/rust/authenticator/src/transport/linux/hidwrapper.rs 2021-11-05 14:00:32.606676153 +0100 @@ -32,6 +32,9 @@ #[cfg(all(target_arch = "powerpc64", target_endian = "big"))] include!("ioctl_powerpc64be.rs"); +#[cfg(target_arch = "riscv")] +include!("ioctl_riscv.rs"); + #[cfg(all(target_arch = "arm", target_endian = "little"))] include!("ioctl_armle.rs");