[Pkg-mongodb-maintainers] [pkg-mongodb] 163/394: (Closes: #625401) ignore unused-but-set-{variable, parameter}

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 13:58:40 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 2e1c3ff8d77ebd3951ff428ed46738c80368f6cb
Author: Antonin Kral <a.kral at bobek.cz>
Date:   Sun Aug 7 19:20:52 2011 +0200

    (Closes: #625401) ignore unused-but-set-{variable,parameter}
---
 ...401-ignore-unused-but-set-variable-paramet.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0003-Closes-625401-ignore-unused-but-set-variable-paramet.patch b/debian/patches/0003-Closes-625401-ignore-unused-but-set-variable-paramet.patch
new file mode 100644
index 0000000..9c2c9ee
--- /dev/null
+++ b/debian/patches/0003-Closes-625401-ignore-unused-but-set-variable-paramet.patch
@@ -0,0 +1,21 @@
+From: Antonin Kral <a.kral at bobek.cz>
+Date: Sun, 7 Aug 2011 19:19:38 +0200
+Subject: (Closes: #625401) ignore unused-but-set-{variable,parameter}
+
+---
+ SConstruct |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/SConstruct b/SConstruct
+index 0293366..bafdac4 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -673,6 +673,7 @@ if nix:
+     if linux:
+         env.Append( CPPFLAGS=" -Werror " )
+         env.Append( CPPFLAGS=" -fno-builtin-memcmp " ) # glibc's memcmp is faster than gcc's
++        env.Append( CPPFLAGS=" -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter " ) # ignore new gcc 4.6
+     env.Append( CXXFLAGS=" -Wnon-virtual-dtor " )
+     env.Append( LINKFLAGS=" -fPIC -pthread -rdynamic" )
+     env.Append( LIBS=[] )
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index 9e0d57f..a2ce9e3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-install-libs-to-usr-lib-not-usr-lib64-Closes-588557.patch
 0002-return-empty-TERM-if-not-set-Closes-620910.patch
+0003-Closes-625401-ignore-unused-but-set-variable-paramet.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