From owner-svn-ports-all@freebsd.org Mon Oct 23 22:58:50 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D9EFE576A7; Mon, 23 Oct 2017 22:58:50 +0000 (UTC) (envelope-from jbeich@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 mx1.freebsd.org (Postfix) with ESMTPS id C83613FFF; Mon, 23 Oct 2017 22:58:49 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9NMwm9d005244; Mon, 23 Oct 2017 22:58:48 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9NMwmoX005241; Mon, 23 Oct 2017 22:58:48 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201710232258.v9NMwmoX005241@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 23 Oct 2017 22:58:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452748 - in head: lang/rust lang/rust/files www/firefox www/firefox/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head: lang/rust lang/rust/files www/firefox www/firefox/files X-SVN-Commit-Revision: 452748 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.23 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: Mon, 23 Oct 2017 22:58:50 -0000 Author: jbeich Date: Mon Oct 23 22:58:48 2017 New Revision: 452748 URL: https://svnweb.freebsd.org/changeset/ports/452748 Log: lang/rust: unbreak FFI for returning struct on i386 As this fixes Stylo on i386, remove the workaround in www/firefox. PR: 223047 Suggested by: Sebastien Marie Approved by: rust (dumbbell) MFH: 2017Q4 (required by Firefox 57 scheduled on 2017-11-14) Added: head/lang/rust/files/patch-src_librustc__back_target_freebsd__base.rs (contents, props changed) Deleted: head/www/firefox/files/patch-bug1401093 Modified: head/lang/rust/Makefile (contents, props changed) head/www/firefox/Makefile (contents, props changed) Modified: head/lang/rust/Makefile ============================================================================== --- head/lang/rust/Makefile Mon Oct 23 22:58:32 2017 (r452747) +++ head/lang/rust/Makefile Mon Oct 23 22:58:48 2017 (r452748) @@ -3,6 +3,7 @@ PORTNAME= rust PORTVERSION?= 1.20.0 +PORTREVISION?= 1 CATEGORIES= lang MASTER_SITES= http://static.rust-lang.org/dist/:src \ https://static.rust-lang.org/dist/:rust_bootstrap \ Added: head/lang/rust/files/patch-src_librustc__back_target_freebsd__base.rs ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/rust/files/patch-src_librustc__back_target_freebsd__base.rs Mon Oct 23 22:58:48 2017 (r452748) @@ -0,0 +1,12 @@ +Return struct like OpenBSD, see src/librustc_trans/cabi_x86.rs + +--- src/librustc_back/target/freebsd_base.rs.orig 2017-07-17 22:10:50 UTC ++++ src/librustc_back/target/freebsd_base.rs +@@ -31,6 +31,7 @@ pub fn opts() -> TargetOptions { + target_family: Some("unix".to_string()), + linker_is_gnu: true, + has_rpath: true, ++ is_like_openbsd: true, + pre_link_args: args, + position_independent_executables: true, + exe_allocation_crate: super::maybe_jemalloc(), Modified: head/www/firefox/Makefile ============================================================================== --- head/www/firefox/Makefile Mon Oct 23 22:58:32 2017 (r452747) +++ head/www/firefox/Makefile Mon Oct 23 22:58:48 2017 (r452748) @@ -4,7 +4,7 @@ PORTNAME= firefox DISTVERSION= 56.0.1 DISTVERSIONSUFFIX=.source -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \