Date: Mon, 29 May 2017 05:00:54 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441966 - in head/lang/rust: . files Message-ID: <201705290500.v4T50sFD094804@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Mon May 29 05:00:54 2017 New Revision: 441966 URL: https://svnweb.freebsd.org/changeset/ports/441966 Log: Fix build on pre-ino64 / on i386 Submitted by: kib Differential Revision: https://reviews.freebsd.org/D10973 Modified: head/lang/rust/Makefile head/lang/rust/files/extra-patch-ino64 Modified: head/lang/rust/Makefile ============================================================================== --- head/lang/rust/Makefile Mon May 29 04:16:00 2017 (r441965) +++ head/lang/rust/Makefile Mon May 29 05:00:54 2017 (r441966) @@ -134,7 +134,7 @@ pre-fetch: exit 1;\ fi -LIBSTD= rust-std-1.16.0-x86_64-unknown-freebsd/rust-std-x86_64-unknown-freebsd/lib/rustlib/x86_64-unknown-freebsd/lib/libstd-aef6cb139bd07bdc.rlib +LIBSTD= rust-std-1.16.0-${RUST_ARCH_${ARCH}}-unknown-freebsd/rust-std-${RUST_ARCH_${ARCH}}-unknown-freebsd/lib/rustlib/${RUST_ARCH_${ARCH}}-unknown-freebsd/lib/libstd-aef6cb139bd07bdc.rlib STDF= std-aef6cb139bd07bdc.0.o post-extract: @@ -143,6 +143,10 @@ post-extract: ${WRKSRC}/build/cache/${CARGO_BOOTSTRAP_DIR} ${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${RUSTC_BOOTSTRAP} \ ${WRKSRC}/build/cache/${RUST_BOOTSTRAP_DIR} +.if ${OPSYS} != FreeBSD || ${OSVERSION} < 1200031 + ${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${RUST_STD_BOOTSTRAP} \ + ${WRKSRC}/build/cache/${RUST_BOOTSTRAP_DIR} +.endif ${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${CARGO_BOOTSTRAP} \ ${WRKSRC}/build/cache/${CARGO_BOOTSTRAP_DIR} ${TAR} -x -C ${WRKSRC} -f ${DISTDIR}/${DIST_SUBDIR}/${RUST_STD_BOOTSTRAP} @@ -152,7 +156,7 @@ post-extract: ${LD} -r -o ${WRKSRC}/std.xx.o ${WRKSRC}/${STDF} ${WRKSRC}/old_fstat.o ${MV} ${WRKSRC}/std.xx.o ${WRKSRC}/${STDF} (cd ${WRKSRC} && ${AR} r ${WRKSRC}/${LIBSTD} ${STDF}) - ${TAR} -cy -C ${WRKSRC} -f ${WRKSRC}/rustc.tbz rust-std-1.16.0-x86_64-unknown-freebsd + ${TAR} -cy -C ${WRKSRC} -f ${WRKSRC}/rustc.tbz rust-std-1.16.0-${RUST_ARCH_${ARCH}}-unknown-freebsd ${MV} ${WRKSRC}/rustc.tbz ${WRKSRC}/build/cache/${RUST_STD_BOOTSTRAP} .endif Modified: head/lang/rust/files/extra-patch-ino64 ============================================================================== --- head/lang/rust/files/extra-patch-ino64 Mon May 29 04:16:00 2017 (r441965) +++ head/lang/rust/files/extra-patch-ino64 Mon May 29 05:00:54 2017 (r441966) @@ -41,16 +41,16 @@ pub st_gid: ::gid_t, + pub st_pad1: ::uint32_t, pub st_rdev: ::dev_t, -+ pub st_atime_ext ::i32, ++ pub st_atime_ext: ::int32_t, pub st_atime: ::time_t, pub st_atime_nsec: ::c_long, -+ pub st_mtime_ext ::i32, ++ pub st_mtime_ext: ::int32_t, pub st_mtime: ::time_t, pub st_mtime_nsec: ::c_long, -+ pub st_ctime_ext ::i32, ++ pub st_ctime_ext: ::int32_t, pub st_ctime: ::time_t, pub st_ctime_nsec: ::c_long, -+ pub st_birthtime_ext ::i32, ++ pub st_birthtime_ext: ::int32_t, + pub st_birthtime: ::time_t, + pub st_birthtime_nsec: ::c_long, pub st_size: ::off_t,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705290500.v4T50sFD094804>