diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-02-06 10:41:52 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-02-06 10:41:52 +0000 |
commit | d8b21bb3cfd6d1273a2ec6f65a430c166c830f37 (patch) | |
tree | 0b81de56c04745efd133d4ccbab00f55dcea94b9 /sysutils/fusefs-sandboxfs | |
parent | abff21fb354b2e049b3b67cc3cb40266291aaea1 (diff) | |
download | ports-d8b21bb3cfd6d1273a2ec6f65a430c166c830f37.tar.gz ports-d8b21bb3cfd6d1273a2ec6f65a430c166c830f37.zip |
sysutils/fusefs-sandboxfs: Add missing patch to unbreak build on i386
Notes
Notes:
svn path=/head/; revision=492300
Diffstat (limited to 'sysutils/fusefs-sandboxfs')
-rw-r--r-- | sysutils/fusefs-sandboxfs/files/patch-src_nodes_conv.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/fusefs-sandboxfs/files/patch-src_nodes_conv.rs b/sysutils/fusefs-sandboxfs/files/patch-src_nodes_conv.rs new file mode 100644 index 000000000000..716b04562db5 --- /dev/null +++ b/sysutils/fusefs-sandboxfs/files/patch-src_nodes_conv.rs @@ -0,0 +1,19 @@ +Unbreak on i386 + +error[E0308]: mismatched types + --> src/nodes/conv.rs:72:19 + | +72 | Timespec::new(val.tv_sec() as sys::time::time_t, usec) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected i64, found i32 + +--- src/nodes/conv.rs.orig 2019-02-06 10:25:59 UTC ++++ src/nodes/conv.rs +@@ -69,7 +69,7 @@ pub fn timeval_to_timespec(val: sys::time::TimeVal) -> + } else { + val.tv_usec() as i32 + }; +- Timespec::new(val.tv_sec() as sys::time::time_t, usec) ++ Timespec::new((val.tv_sec() as sys::time::time_t).into(), usec) + } + + /// Converts a file type as returned by the file system to a FUSE file type. |