[Pkg-mongodb-maintainers] [pkg-mongodb] 320/394: Fix FTBFS with gcc 5.1

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 5c838dd9bd469afebf2442755bd2663d9a6c755b
Author: Laszlo Boszormenyi (GCS) <gcs at debian.org>
Date:   Sun Jul 5 10:46:47 2015 +0000

    Fix FTBFS with gcc 5.1
---
 debian/changelog                        |  6 ++++++
 debian/patches/no-unused-variable.patch | 19 +++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3579101..9d5cf53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mongodb (1:2.4.14-2) unstable; urgency=low
+
+  * Fix FTBFS with gcc 5.1 (closes: #778012).
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Sat, 04 Jul 2015 07:10:47 +0000
+
 mongodb (1:2.4.14-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/patches/no-unused-variable.patch b/debian/patches/no-unused-variable.patch
new file mode 100644
index 0000000..31a572a
--- /dev/null
+++ b/debian/patches/no-unused-variable.patch
@@ -0,0 +1,19 @@
+Description: fix FTBFS with gcc 5.1
+ Need to pass -Wno-unused-variable to the compiler.
+Author: Laszlo Boszormenyi (GCS) <gcs at debian.org>
+Bug-Debian: https://bugs.debian.org/778012
+Forwarded: not-needed
+Last-Update: 2015-07-04
+
+---
+
+--- mongodb-2.4.14.orig/SConstruct
++++ mongodb-2.4.14/SConstruct
+@@ -714,6 +714,7 @@ if nix:
+                          "-Wall",
+                          "-Wsign-compare",
+                          "-Wno-unused-function",
++                         "-Wno-unused-variable",
+                          "-Wno-unknown-pragmas",
+                          "-Winvalid-pch"] )
+     # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
diff --git a/debian/patches/series b/debian/patches/series
index 1c4cd19..11e8d4c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@
 0012-support-gnu.patch
 0013-pymongo.patch
 no-unused-function.patch
+no-unused-variable.patch

-- 
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