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, 5 Oct 2021 21:18:02 +0000 (22:18 +0100)
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 990d6a4a582b1d24e4e377084f1efb6838e573f6..e3c25ee4c0721ed4613eb1c02fa1af83c803e2a4 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 897daad41bed7b3ca6589a696b5cf7085556b438..1a022429ea052dc6e89a96d55d9a9e3efb3fd325 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;