* manually add pygments hatchling DEP and update .cache
[t2sde.git] / package / www / firefox / sparc.patch
blobda73ebff2fdb2f9c8dcf384022a3c792f452c55f
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/firefox/sparc.patch
3 # Copyright (C) 2020 - 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
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-109.0/third_party/rust/authenticator/src/transport/linux/ioctl_sparc64.rs.vanilla
15 +++ firefox-109.0/third_party/rust/authenticator/src/transport/linux/ioctl_sparc64.rs
16 @@ -0,0 +1,5 @@
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-109.0/third_party/rust/authenticator/src/transport/linux/hidwrapper.rs.vanilla 2023-01-16 18:03:41.606464537 +0100
23 +++ firefox-109.0/third_party/rust/authenticator/src/transport/linux/hidwrapper.rs 2023-01-16 18:04:01.424465205 +0100
24 @@ -50,5 +50,11 @@
25 #[cfg(all(target_arch = "s390x", target_endian = "big"))]
26 include!("ioctl_s390xbe.rs");
28 +#[cfg(target_arch = "sparc")]
29 +include!("ioctl_sparc.rs");
31 +#[cfg(target_arch = "sparc64")]
32 +include!("ioctl_sparc64.rs");
34 #[cfg(all(target_arch = "riscv64", target_endian = "little"))]
35 include!("ioctl_riscv64.rs");
36 --- firefox-81.0.2/third_party/rust/authenticator/src/transport/linux/ioctl_sparc.rs.vanilla (nonexistent)
37 +++ firefox-81.0.2/third_party/rust/authenticator/src/transport/linux/ioctl_sparc.rs 2020-10-16 11:38:52.534009666 +0200
38 @@ -0,0 +1,5 @@
39 +/* automatically generated by rust-bindgen */
41 +pub type __u32 = ::std::os::raw::c_uint;
42 +pub const _HIDIOCGRDESCSIZE: __u32 = 1074022401;
43 +pub const _HIDIOCGRDESC: __u32 = 1342457858;
44 --- firefox-109.0/third_party/rust/authenticator/build.rs.vanilla 2023-01-16 18:05:41.237468570 +0100
45 +++ firefox-109.0/third_party/rust/authenticator/build.rs 2023-01-16 18:06:34.859470378 +0100
46 @@ -47,6 +47,10 @@
47 "ioctl_aarch64be.rs"
48 } else if cfg!(all(target_arch = "s390x", target_endian = "big")) {
49 "ioctl_s390xbe.rs"
50 + } else if cfg!(target_arch = "sparc") {
51 + "ioctl_sparc.rs"
52 + } else if cfg!(target_arch = "sparc64") {
53 + "ioctl_sparc64.rs"
54 } else if cfg!(all(target_arch = "riscv64", target_endian = "little")) {
55 "ioctl_riscv64.rs"
56 } else {
57 --- firefox-122.0/third_party/rust/nix/src/sys/ioctl/linux.rs.vanilla 2024-01-28 19:13:32.067832001 +0100
58 +++ firefox-122.0/third_party/rust/nix/src/sys/ioctl/linux.rs 2024-01-28 19:14:20.223830081 +0100
59 @@ -22,6 +22,7 @@
60 target_arch = "mips64",
61 target_arch = "powerpc",
62 target_arch = "powerpc64",
63 + target_arch = "sparc",
64 target_arch = "sparc64"
65 ))] {
66 mod consts {