summaryrefslogtreecommitdiff
path: root/experimental/firefox-esr/5-e6b5aa19e999.patch
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/firefox-esr/5-e6b5aa19e999.patch')
-rw-r--r--experimental/firefox-esr/5-e6b5aa19e999.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/experimental/firefox-esr/5-e6b5aa19e999.patch b/experimental/firefox-esr/5-e6b5aa19e999.patch
new file mode 100644
index 000000000..d33914b78
--- /dev/null
+++ b/experimental/firefox-esr/5-e6b5aa19e999.patch
@@ -0,0 +1,22 @@
+# HG changeset patch
+# User A. Wilcox <AWilcox@Wilcox-Tech.com>
+# Date 1539810007 0
+# Wed Oct 17 21:00:07 2018 +0000
+# Node ID e6b5aa19e9990adaddb2b80061620f3ceb7335e0
+# Parent 34f9863ef26ae1f8e494b3fc8e87fb7e26a480b3
+NOT FOR INBOUND: fix u2fhid on ppc64/musl
+
+diff -r 34f9863ef26a -r e6b5aa19e999 dom/webauthn/u2f-hid-rs/src/linux/hidraw.rs
+--- a/dom/webauthn/u2f-hid-rs/src/linux/hidraw.rs Wed Oct 17 20:59:47 2018 +0000
++++ b/dom/webauthn/u2f-hid-rs/src/linux/hidraw.rs Wed Oct 17 21:00:07 2018 +0000
+@@ -41,10 +41,7 @@
+ | (($nr as u32) << NRSHIFT)
+ | ((size as u32) << SIZESHIFT);
+
+- #[cfg(not(target_env = "musl"))]
+ type IocType = libc::c_ulong;
+- #[cfg(target_env = "musl")]
+- type IocType = libc::c_int;
+
+ from_unix_result(libc::ioctl(fd, ioc as IocType, val))
+ }