[Pkg-mongodb-maintainers] [pkg-mongodb] 319/394: Add -Wno-unused-typedefs to unbreak building with g++-4.8

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 13:59:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository pkg-mongodb.

commit 7bff59b781746f987b86ba58489aa3d18365a5b0
Author: Laszlo Boszormenyi (GCS) <gcs at debian.org>
Date:   Tue Jun 30 16:57:00 2015 +0000

    Add -Wno-unused-typedefs to unbreak building with g++-4.8
---
 debian/patches/0009-ignore-unused-local-typedefs.patch | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/patches/0009-ignore-unused-local-typedefs.patch b/debian/patches/0009-ignore-unused-local-typedefs.patch
index 84069b4..5ffbdd4 100644
--- a/debian/patches/0009-ignore-unused-local-typedefs.patch
+++ b/debian/patches/0009-ignore-unused-local-typedefs.patch
@@ -5,18 +5,18 @@ Description: Disable unused-local-typedefs errors
 Author: James Page <james.page at ubuntu.com>
 Origin: https://github.com/mongodb/mongo/commit/2d30f0b562c1925a52670e767c2c0222189fb8f0
 
---- a/SConstruct
-+++ b/SConstruct
-@@ -715,6 +715,7 @@ if nix:
-         env.Append( CCFLAGS=["-Werror", "-pipe"] )
+--- mongodb-2.4.14.orig/SConstruct
++++ mongodb-2.4.14/SConstruct
+@@ -723,6 +723,7 @@ if nix:
+             env.Append( CCFLAGS=["-Werror"] )
          if not has_option('clang'):
              env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's
 +            env.Append( CXXFLAGS=["-Wno-unused-local-typedefs"] ) # New in gcc 4.8
  
      env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
      env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
---- a/src/third_party/v8/SConscript
-+++ b/src/third_party/v8/SConscript
+--- mongodb-2.4.14.orig/src/third_party/v8/SConscript
++++ mongodb-2.4.14/src/third_party/v8/SConscript
 @@ -51,7 +51,8 @@ LIBRARY_FLAGS = {
                         '-W',
                         '-Wno-unused-parameter',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mongodb/pkg-mongodb.git



More information about the Pkg-mongodb-maintainers mailing list