summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2015-12-27 17:59:13 +0100
committerUltrabug <ultrabug@gentoo.org>2015-12-27 17:59:27 +0100
commitbc8b63573cd8ed98205502464d7340438ed4cf4c (patch)
tree64406856010c13ce410b6aa81500c9b0f908dc9c /dev-db/mongodb/files
parentapp-admin/mongo-tools: version bump (diff)
downloadgentoo-bc8b63573cd8ed98205502464d7340438ed4cf4c.tar.gz
gentoo-bc8b63573cd8ed98205502464d7340438ed4cf4c.tar.bz2
gentoo-bc8b63573cd8ed98205502464d7340438ed4cf4c.zip
dev-db/mongodb: version bump fix #568322 thx to Tomáš Mózes and Bob Cochran
Package-Manager: portage-2.2.25
Diffstat (limited to 'dev-db/mongodb/files')
-rw-r--r--dev-db/mongodb/files/mongodb-3.2.0-fix-scons.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-db/mongodb/files/mongodb-3.2.0-fix-scons.patch b/dev-db/mongodb/files/mongodb-3.2.0-fix-scons.patch
new file mode 100644
index 000000000000..1eb79d13980c
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-3.2.0-fix-scons.patch
@@ -0,0 +1,30 @@
+--- a/SConstruct 2015-12-02 20:01:34.000000000 +0100
++++ b/SConstruct 2015-12-27 17:06:45.563739544 +0100
+@@ -1371,7 +1371,6 @@
+ env.Append( CCFLAGS=["-fno-omit-frame-pointer",
+ "-fPIC",
+ "-fno-strict-aliasing",
+- "-ggdb",
+ "-pthread",
+ "-Wall",
+ "-Wsign-compare",
+@@ -1382,8 +1381,9 @@
+ if not has_option("disable-warnings-as-errors"):
+ env.Append( CCFLAGS=["-Werror"] )
+
+- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
+ env.Append( LINKFLAGS=["-fPIC", "-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.
+@@ -1398,7 +1398,7 @@
+ env.Append( SHLINKFLAGS=["-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'):