Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2017 10:25:24 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r452841 - in branches/2017Q4: lang/rust lang/rust/files www/firefox www/firefox/files
Message-ID:  <201710251025.v9PAPO2e090795@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Oct 25 10:25:24 2017
New Revision: 452841
URL: https://svnweb.freebsd.org/changeset/ports/452841

Log:
  MFH: r452748
  
  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 <semarie@openbsd.org>
  Approved by:	rust (dumbbell)
  Approved by:	ports-secteam (swills)

Added:
  branches/2017Q4/lang/rust/files/patch-src_librustc__back_target_freebsd__base.rs
     - copied unchanged from r452748, head/lang/rust/files/patch-src_librustc__back_target_freebsd__base.rs
Deleted:
  branches/2017Q4/www/firefox/files/patch-bug1401093
Modified:
  branches/2017Q4/lang/rust/Makefile
  branches/2017Q4/www/firefox/Makefile
Directory Properties:
  branches/2017Q4/   (props changed)

Modified: branches/2017Q4/lang/rust/Makefile
==============================================================================
--- branches/2017Q4/lang/rust/Makefile	Wed Oct 25 10:19:50 2017	(r452840)
+++ branches/2017Q4/lang/rust/Makefile	Wed Oct 25 10:25:24 2017	(r452841)
@@ -3,7 +3,7 @@
 
 PORTNAME=	rust
 PORTVERSION?=	1.19.0
-PORTREVISION?=	2
+PORTREVISION?=	3
 CATEGORIES=	lang
 MASTER_SITES=	http://static.rust-lang.org/dist/:src \
 		https://static.rust-lang.org/dist/:rust_bootstrap \

Copied: branches/2017Q4/lang/rust/files/patch-src_librustc__back_target_freebsd__base.rs (from r452748, head/lang/rust/files/patch-src_librustc__back_target_freebsd__base.rs)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q4/lang/rust/files/patch-src_librustc__back_target_freebsd__base.rs	Wed Oct 25 10:25:24 2017	(r452841, copy of r452748, head/lang/rust/files/patch-src_librustc__back_target_freebsd__base.rs)
@@ -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: branches/2017Q4/www/firefox/Makefile
==============================================================================
--- branches/2017Q4/www/firefox/Makefile	Wed Oct 25 10:19:50 2017	(r452840)
+++ branches/2017Q4/www/firefox/Makefile	Wed Oct 25 10:25:24 2017	(r452841)
@@ -4,7 +4,7 @@
 PORTNAME=	firefox
 DISTVERSION=	56.0.1
 DISTVERSIONSUFFIX=.source
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710251025.v9PAPO2e090795>