Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2021 07:27:22 GMT
From:      Guangyuan Yang <ygy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0034d834df72 - main - databases/mongodb44: Update to 4.4.7
Message-ID:  <202107260727.16Q7RM9i094570@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0034d834df7258bbd19b5866cfa4efc1a2f2be55

commit 0034d834df7258bbd19b5866cfa4efc1a2f2be55
Author:     Ronald Klop <ronald-lists@klop.ws>
AuthorDate: 2021-07-26 07:26:39 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
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')



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