~ubuntu-branches/ubuntu/wily/juju-mongodb/wily-proposed

« back to all changes in this revision

Viewing changes to debian/patches/no-unused-variable.patch

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2015-08-11 10:57:23 UTC
  • Revision ID: package-import@ubuntu.com-20150811105723-zmzc7v8yhfk5znol
Tags: 2.4.10-0ubuntu4
* Fix FTBFS: (LP: #1483400)
  - Add 00git_boost_1.56.patch: Fix "std::swap" failure with current boost.
    (Backported from upstream git)
  - Add 00git_pymongo3.patch: Fix buildscripts/smoke.py for PyMongo 3.
    (Backported from upstream git)
  - Add no-unused-variable.patch: Don't fail to build on "unused-variable"
    warning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Don't fail (-Werror) on "unused-variable" warning.
 
2
Author: Martin Pitt <martin.pitt@ubuntu.com>
 
3
Bug-Ubuntu: https://launchpad.net/bugs/1483400
 
4
 
 
5
Index: mongodb-2.6.10/SConstruct
 
6
===================================================================
 
7
--- mongodb-2.6.10.orig/SConstruct
 
8
+++ mongodb-2.6.10/SConstruct
 
9
@@ -835,6 +835,7 @@ if nix:
 
10
                          "-Wall",
 
11
                          "-Wsign-compare",
 
12
                          "-Wno-unused-function",
 
13
+                         "-Wno-unused-variable",
 
14
                          "-Wno-unknown-pragmas",
 
15
                          "-Winvalid-pch"] )
 
16
     # env.Append( " -Wconversion" ) TODO: this doesn't really work yet