From owner-svn-ports-all@freebsd.org Fri Feb 23 22:14:13 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40E45F25125; Fri, 23 Feb 2018 22:14:13 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E63F67B9D7; Fri, 23 Feb 2018 22:14:12 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E12B51C736; Fri, 23 Feb 2018 22:14:12 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1NMECqd005744; Fri, 23 Feb 2018 22:14:12 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1NMECkX005743; Fri, 23 Feb 2018 22:14:12 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201802232214.w1NMECkX005743@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Fri, 23 Feb 2018 22:14:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462750 - head/lang/rust X-SVN-Group: ports-head X-SVN-Commit-Author: bdrewery X-SVN-Commit-Paths: head/lang/rust X-SVN-Commit-Revision: 462750 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 22:14:13 -0000 Author: bdrewery Date: Fri Feb 23 22:14:12 2018 New Revision: 462750 URL: https://svnweb.freebsd.org/changeset/ports/462750 Log: Newer versions (rust-nightly 2018-02-19) pack multiple .o files into libstd. We only need to patch one of them. Modified: head/lang/rust/Makefile Modified: head/lang/rust/Makefile ============================================================================== --- head/lang/rust/Makefile Fri Feb 23 22:10:33 2018 (r462749) +++ head/lang/rust/Makefile Fri Feb 23 22:14:12 2018 (r462750) @@ -145,7 +145,7 @@ post-extract: (set -ex; cd ${WRKSRC}; \ libstd="$$(echo "${RUST_STD_DIR}/rust-std-${RUST_TARGET}/lib/rustlib/${RUST_TARGET}/lib/"libstd-*.rlib)"; \ hash="$$(basename "$$libstd" .rlib | ${SED} 's/^libstd-//')"; \ - std_o="$$(${AR} t "$$libstd" | ${GREP} -E "^std-$$hash.*\.o$$")"; \ + std_o="$$(${AR} t "$$libstd" | ${GREP} -E "^std-$$hash.*\.o$$" | ${HEAD} -n 1)"; \ ${AR} x "$$libstd" "$$std_o"; \ ${LD} -r -o std.xx.o "$$std_o" old_fstat.o; \ ${MV} std.xx.o "$$std_o"; \