From owner-svn-ports-all@freebsd.org Mon Apr 8 11:50:53 2019 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 6DCBF157D081; Mon, 8 Apr 2019 11:50:53 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E9486D7B0; Mon, 8 Apr 2019 11:50:53 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D380822EA2; Mon, 8 Apr 2019 11:50:52 +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 x38BoqHi042167; Mon, 8 Apr 2019 11:50:52 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x38BoqqP042165; Mon, 8 Apr 2019 11:50:52 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201904081150.x38BoqqP042165@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 8 Apr 2019 11:50:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498362 - in head: Mk www/firefox/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head: Mk www/firefox/files X-SVN-Commit-Revision: 498362 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0E9486D7B0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.961,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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, 08 Apr 2019 11:50:53 -0000 Author: jbeich Date: Mon Apr 8 11:50:52 2019 New Revision: 498362 URL: https://svnweb.freebsd.org/changeset/ports/498362 Log: www/firefox: switch to upstream fix for non-x86 PR: 233707 Added: head/www/firefox/files/patch-bug1513605 (contents, props changed) Modified: head/Mk/bsd.gecko.mk (contents, props changed) Modified: head/Mk/bsd.gecko.mk ============================================================================== --- head/Mk/bsd.gecko.mk Mon Apr 8 11:50:41 2019 (r498361) +++ head/Mk/bsd.gecko.mk Mon Apr 8 11:50:52 2019 (r498362) @@ -138,8 +138,7 @@ MOZ_PKGCONFIG_FILES?= ${MOZILLA}-gtkmozembed ${MOZILLA MOZ_EXPORT+= ${CONFIGURE_ENV} \ RUSTFLAGS="${RUSTFLAGS}" \ - PERL="${PERL}" \ - ac_cv_clock_monotonic= + PERL="${PERL}" MOZ_OPTIONS+= --prefix="${PREFIX}" MOZ_MK_OPTIONS+=MOZ_OBJDIR="${BUILD_WRKSRC}" Added: head/www/firefox/files/patch-bug1513605 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/firefox/files/patch-bug1513605 Mon Apr 8 11:50:52 2019 (r498362) @@ -0,0 +1,59 @@ +commit 7b5468921fef +Author: Mike Hommey +Date: Tue Mar 12 14:14:43 2019 +0000 + + Bug 1513605 - Add PIC flags when running the clock_gettime(CLOCK_MONOTONIC) check. r=dmajor + + Differential Revision: https://phabricator.services.mozilla.com/D23091 + + --HG-- + extra : moz-landing-system : lando +--- + js/src/old-configure.in | 3 +++ + old-configure.in | 3 +++ + 2 files changed, 6 insertions(+) + +diff --git js/src/old-configure.in js/src/old-configure.in +index 64654df2230b..ce4458098a6c 100644 +--- js/src/old-configure.in ++++ js/src/old-configure.in +@@ -1015,7 +1015,9 @@ Darwin) + ac_cv_clock_monotonic, + [for libs in "" -lrt; do + _SAVE_LIBS="$LIBS" ++ _SAVE_CFLAGS="$CFLAGS" + LIBS="$LIBS $libs" ++ CFLAGS="$CFLAGS $DSO_PIC_CFLAGS" + AC_TRY_LINK([#include ], + [ struct timespec ts; + clock_gettime(CLOCK_MONOTONIC, &ts); ], +@@ -1024,6 +1026,7 @@ Darwin) + break, + ac_cv_clock_monotonic=no) + LIBS="$_SAVE_LIBS" ++ CFLAGS="$_SAVE_CFLAGS" + done]) + if test "$ac_cv_clock_monotonic" != "no"; then + HAVE_CLOCK_MONOTONIC=1 +diff --git old-configure.in old-configure.in +index d6a587d54b3b..1ed22938205e 100644 +--- old-configure.in ++++ old-configure.in +@@ -1303,7 +1303,9 @@ Darwin) + ac_cv_clock_monotonic, + [for libs in "" -lrt; do + _SAVE_LIBS="$LIBS" ++ _SAVE_CFLAGS="$CFLAGS" + LIBS="$LIBS $libs" ++ CFLAGS="$CFLAGS $DSO_PIC_CFLAGS" + AC_TRY_LINK([#include ], + [ struct timespec ts; + clock_gettime(CLOCK_MONOTONIC, &ts); ], +@@ -1312,6 +1314,7 @@ Darwin) + break, + ac_cv_clock_monotonic=no) + LIBS="$_SAVE_LIBS" ++ CFLAGS="$_SAVE_CFLAGS" + done]) + if test "$ac_cv_clock_monotonic" != "no"; then + HAVE_CLOCK_MONOTONIC=1