diff options
| author | Michał Górny <mgorny@gentoo.org> | 2016-01-01 11:35:49 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2016-01-01 11:35:49 +0100 |
| commit | ea24e4c1ad373d820f4c1022eda7b6bffc2679a7 (patch) | |
| tree | 30141a7dd1aba6948c124658e275ad23b9e65603 /dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch | |
| parent | 4300ad9d544fdff5c37b387084bfdca0d4eb7ea3 (diff) | |
| download | gentoo-ea24e4c1ad373d820f4c1022eda7b6bffc2679a7.tar.gz gentoo-ea24e4c1ad373d820f4c1022eda7b6bffc2679a7.tar.bz2 gentoo-ea24e4c1ad373d820f4c1022eda7b6bffc2679a7.zip | |
dev-db/mongodb: [QA] Revert "drop 2.4 series"
Revert the removal of last ebuilds satisfying
dev-db/mongodb[sharedclient] as required by sci-chemistry/mongochem.
Diffstat (limited to 'dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch')
| -rw-r--r-- | dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch b/dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch new file mode 100644 index 000000000000..5050fe7daa35 --- /dev/null +++ b/dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch @@ -0,0 +1,23 @@ +--- b/SConstruct 2014-09-01 19:12:24.289585592 +0200 ++++ a/SConstruct 2014-09-01 19:14:12.550312261 +0200 +@@ -704,7 +704,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=["-fPIC", + "-fno-strict-aliasing", +- "-ggdb", + "-pthread", + "-Wall", + "-Wsign-compare", +@@ -719,9 +718,10 @@ + env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's + + env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] ) +- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] ) ++ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] ) ++ env.Append( LINKFLAGS=os.environ['LDFLAGS'] ) + env.Append( LINKFLAGS=["-fPIC", "-pthread", "-rdynamic"] ) +- env.Append( LIBS=[] ) ++ env.Append( LIBS=['pcre', 'pcrecpp', 'snappy'] ) + + #make scons colorgcc friendly + for key in ('HOME', 'TERM'): |
