svn commit: r452841 - in branches/2017Q4: lang/rust lang/rust/files www/firefox www/firefox/files
Jan Beich
jbeich at FreeBSD.org
Wed Oct 25 10:25:26 UTC 2017
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 at 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 \
More information about the svn-ports-branches
mailing list