svn commit: r492300 - head/sysutils/fusefs-sandboxfs/files
Tobias Kortkamp
tobik at FreeBSD.org
Wed Feb 6 10:41:54 UTC 2019
Author: tobik
Date: Wed Feb 6 10:41:52 2019
New Revision: 492300
URL: https://svnweb.freebsd.org/changeset/ports/492300
Log:
sysutils/fusefs-sandboxfs: Add missing patch to unbreak build on i386
Added:
head/sysutils/fusefs-sandboxfs/files/
head/sysutils/fusefs-sandboxfs/files/patch-src_nodes_conv.rs (contents, props changed)
Added: head/sysutils/fusefs-sandboxfs/files/patch-src_nodes_conv.rs
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/fusefs-sandboxfs/files/patch-src_nodes_conv.rs Wed Feb 6 10:41:52 2019 (r492300)
@@ -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.
More information about the svn-ports-all
mailing list