Date: Wed, 6 Feb 2019 10:41:53 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492300 - head/sysutils/fusefs-sandboxfs/files Message-ID: <201902061041.x16Afrkj072198@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902061041.x16Afrkj072198>