diff options
author | 2017-01-11 08:39:43 +0100 | |
---|---|---|
committer | 2017-01-11 08:40:22 +0100 | |
commit | e6e8be3a23eda3522082446e3a37da67fd0eb983 (patch) | |
tree | 5dffc811816f8f38c737a0acf39628a86becc69b /dev-db/mongodb/files | |
parent | app-admin/mongo-tools: version bump (diff) | |
download | gentoo-e6e8be3a23eda3522082446e3a37da67fd0eb983.tar.gz gentoo-e6e8be3a23eda3522082446e3a37da67fd0eb983.tar.bz2 gentoo-e6e8be3a23eda3522082446e3a37da67fd0eb983.zip |
dev-db/mongodb: version bump fixes #602434
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-db/mongodb/files')
-rw-r--r-- | dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch b/dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch new file mode 100644 index 000000000000..2dd751fad813 --- /dev/null +++ b/dev-db/mongodb/files/mongodb-3.4.0-fix-scons.patch @@ -0,0 +1,35 @@ +--- a/SConstruct 2016-12-27 11:10:06.801949538 +0100 ++++ b/SConstruct 2016-12-27 11:12:40.426407713 +0100 +@@ -1557,7 +1557,6 @@ + # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used. + env.Append( CCFLAGS=["-fno-omit-frame-pointer", + "-fno-strict-aliasing", +- "-ggdb", + "-pthread", + "-Wall", + "-Wsign-compare", +@@ -1568,8 +1567,9 @@ + if not has_option("disable-warnings-as-errors"): + env.Append( CCFLAGS=["-Werror"] ) + +- env.Append( CXXFLAGS=["-Woverloaded-virtual"] ) + env.Append( LINKFLAGS=["-pthread"] ) ++ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] ) ++ env.Append( LINKFLAGS=os.environ['LDFLAGS'] ) + + # SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program + # startup. +@@ -1579,10 +1579,10 @@ + env.Append( LINKFLAGS=["-Wl,-z,now"] ) + env.Append( LINKFLAGS=["-rdynamic"] ) + +- env.Append( LIBS=[] ) ++ env.Append( LIBS=['pcre', 'pcrecpp', 'snappy', 'yaml-cpp'] ) + +- #make scons colorgcc friendly +- for key in ('HOME', 'TERM'): ++ #make scons colorgcc, distcc, ccache friendly ++ for key in ('HOME', 'PATH', 'TERM'): + try: + env['ENV'][key] = os.environ[key] + except KeyError: |