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, 15 Dec 2020 20:57:15 +0000 (20:57 +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 82d9a4645da27d4cfdf49316a394a382ffeee2df..ce0fcac052486e99472b2c0e1dc00ebe15e847a4 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 6f6199ab266534398f6742a9e1ce348d0c5e24dd..c0ac0b3a257c9b2532656ad48164cdd745503674 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;