aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fusefs-sandboxfs
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-02-06 10:41:52 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-02-06 10:41:52 +0000
commitd8b21bb3cfd6d1273a2ec6f65a430c166c830f37 (patch)
tree0b81de56c04745efd133d4ccbab00f55dcea94b9 /sysutils/fusefs-sandboxfs
parentabff21fb354b2e049b3b67cc3cb40266291aaea1 (diff)
downloadports-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.rs19
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.