From owner-dev-commits-ports-all@freebsd.org Mon Jul 26 07:27:22 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6C7B26669A1; Mon, 26 Jul 2021 07:27:22 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GYBMZ2PVyz3kDY; Mon, 26 Jul 2021 07:27:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 35783132C9; Mon, 26 Jul 2021 07:27:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16Q7RMMo094571; Mon, 26 Jul 2021 07:27:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16Q7RM9i094570; Mon, 26 Jul 2021 07:27:22 GMT (envelope-from git) Date: Mon, 26 Jul 2021 07:27:22 GMT Message-Id: <202107260727.16Q7RM9i094570@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guangyuan Yang Subject: git: 0034d834df72 - main - databases/mongodb44: Update to 4.4.7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ygy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0034d834df7258bbd19b5866cfa4efc1a2f2be55 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2021 07:27:22 -0000 The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=0034d834df7258bbd19b5866cfa4efc1a2f2be55 commit 0034d834df7258bbd19b5866cfa4efc1a2f2be55 Author: Ronald Klop AuthorDate: 2021-07-26 07:26:39 +0000 Commit: Guangyuan Yang CommitDate: 2021-07-26 07:26:39 +0000 databases/mongodb44: Update to 4.4.7 - Add a fix for compilation on aarch64 on 14-CURRENT/clang 12. See: https://lists.freebsd.org/archives/freebsd-ports/2021-July/000431.html Changelog: https://docs.mongodb.com/manual/release-notes/4.4-changelog/#4.4.7-changelog PR: 257393 Approved by: lwhsu (mentor, implicit) --- databases/mongodb44/Makefile | 2 +- databases/mongodb44/distinfo | 6 +++--- databases/mongodb44/files/patch-SConstruct | 24 +++++++++++++++++------- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/databases/mongodb44/Makefile b/databases/mongodb44/Makefile index 4de61908fd13..bdf385fb1bc2 100644 --- a/databases/mongodb44/Makefile +++ b/databases/mongodb44/Makefile @@ -1,6 +1,6 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r -DISTVERSION= 4.4.6 +DISTVERSION= 4.4.7 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ diff --git a/databases/mongodb44/distinfo b/databases/mongodb44/distinfo index 0d9b18c20f8e..9c2b37b54a42 100644 --- a/databases/mongodb44/distinfo +++ b/databases/mongodb44/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620589981 -SHA256 (mongodb-src-r4.4.6.tar.gz) = b5189aa87977137574cd75432dac9bb91699d322358f857b7b6d1e191fbd2f32 -SIZE (mongodb-src-r4.4.6.tar.gz) = 50069717 +TIMESTAMP = 1626429656 +SHA256 (mongodb-src-r4.4.7.tar.gz) = 5deaa20aa92dcf33558b323b45e1fcae413f69b3eb088b98e1eb243f1ac68727 +SIZE (mongodb-src-r4.4.7.tar.gz) = 50442373 diff --git a/databases/mongodb44/files/patch-SConstruct b/databases/mongodb44/files/patch-SConstruct index 011674b57ac9..de57cb103810 100644 --- a/databases/mongodb44/files/patch-SConstruct +++ b/databases/mongodb44/files/patch-SConstruct @@ -1,7 +1,7 @@ ---- SConstruct.orig 2019-08-08 20:06:23 UTC +--- SConstruct.orig 2021-07-07 09:17:06 UTC +++ SConstruct -@@ -1068,9 +1068,9 @@ if has_option('variables-help'): - print((env_vars.GenerateHelpText(env))) +@@ -1213,9 +1213,9 @@ if has_option('variables-help'): + print(env_vars.GenerateHelpText(env)) Exit(0) -unknown_vars = env_vars.UnknownVariables() @@ -11,9 +11,9 @@ +#if unknown_vars: +# env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys()))) - def set_config_header_define(env, varname, varval = 1): - env['CONFIG_HEADER_DEFINES'][varname] = varval -@@ -1851,7 +1851,7 @@ if env.TargetOSIs('posix'): + if get_option('install-action') != 'default' and get_option('ninja') != "disabled": + env.FatalError("Cannot use non-default install actions when generating Ninja.") +@@ -2091,7 +2091,7 @@ if env.TargetOSIs('posix'): # If runtime hardening is requested, then build anything # destined for an executable with the necessary flags for PIE. env.AppendUnique( @@ -22,7 +22,7 @@ PROGLINKFLAGS=['-pie'], ) -@@ -1865,7 +1865,7 @@ if env.TargetOSIs('posix'): +@@ -2106,7 +2106,7 @@ if env.TargetOSIs('posix'): "-Wno-unknown-pragmas", "-Winvalid-pch"] ) # env.Append( " -Wconversion" ) TODO: this doesn't really work yet @@ -31,3 +31,13 @@ if not has_option("disable-warnings-as-errors"): env.Append( CCFLAGS=["-Werror"] ) +@@ -3926,7 +3926,8 @@ def doConfigure(myenv): + myenv = conf.Finish() + + if env['TARGET_ARCH'] == "aarch64": +- AddToCCFLAGSIfSupported(myenv, "-moutline-atomics") ++ # https://lists.freebsd.org/archives/freebsd-ports/2021-July/000431.html ++ AddToCCFLAGSIfSupported(myenv, "-mno-outline-atomics") + + conf = Configure(myenv) + usdt_enabled = get_option('enable-usdt-probes')