Add missing bindings for mips* in the authenticator crate
authorMike Hommey <mh@glandium.org>
Wed, 23 Sep 2020 03:52:35 +0000 (12:52 +0900)
committerMike Hommey <glandium@debian.org>
Tue, 23 Feb 2021 21:29:25 +0000 (21:29 +0000)
Gbp-Pq: Topic porting
Gbp-Pq: Name Add-missing-bindings-for-mips-in-the-authenticator-c.patch

Cargo.lock
Cargo.toml
third_party/rust/authenticator/src/linux/ioctl_mipsbe.rs [new file with mode: 0644]
third_party/rust/authenticator/src/linux/ioctl_mipsle.rs [new file with mode: 0644]

index a3cdbad6c828cc4ca5b9f78b7f7feb6737c219bc..ae02fdf535c960860d658c4112dd7b5008939f55 100644 (file)
@@ -183,8 +183,6 @@ dependencies = [
 [[package]]
 name = "authenticator"
 version = "0.2.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff593fb4dd388fe452c5e63d4d668699466bd46b571c4b852dfbca4bac8f0706"
 dependencies = [
  "bitflags",
  "boxfnonce",
index b723c1da2d57d96e2bd5d6e2ba2057285a505e40..b250d3b4259a0ed2a207892ad13493aa8a845cd8 100644 (file)
@@ -73,6 +73,7 @@ spirv_cross = { git = "https://github.com/kvark/spirv_cross", branch = "wgpu3" }
 # failure's backtrace feature might break our builds, see bug 1608157.
 failure = { git = "https://github.com/badboy/failure", rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5" }
 failure_derive = { git = "https://github.com/badboy/failure", rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5" }
+authenticator = { path = "third_party/rust/authenticator" }
 
 [patch.crates-io.cranelift-codegen]
 git = "https://github.com/bytecodealliance/wasmtime"
diff --git a/third_party/rust/authenticator/src/linux/ioctl_mipsbe.rs b/third_party/rust/authenticator/src/linux/ioctl_mipsbe.rs
new file mode 100644 (file)
index 0000000..1ca187f
--- /dev/null
@@ -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;
diff --git a/third_party/rust/authenticator/src/linux/ioctl_mipsle.rs b/third_party/rust/authenticator/src/linux/ioctl_mipsle.rs
new file mode 100644 (file)
index 0000000..1ca187f
--- /dev/null
@@ -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;