[python-escript] 01/02: Fix FTBFS due to unused variables. (Closes: #860604)
Anton Gladky
gladk at moszumanska.debian.org
Wed Apr 19 11:47:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch debian
in repository python-escript.
commit b33279b420d6c464ff601a9bcabcc3e9433d1af2
Author: Paul Dreik <debianbugs at pauldreik.se>
Date: Wed Apr 19 13:37:04 2017 +0200
Fix FTBFS due to unused variables. (Closes: #860604)
---
debian/patches/fixFTBFS.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 25 insertions(+)
diff --git a/debian/patches/fixFTBFS.patch b/debian/patches/fixFTBFS.patch
new file mode 100644
index 0000000..9bb193f
--- /dev/null
+++ b/debian/patches/fixFTBFS.patch
@@ -0,0 +1,24 @@
+Description: Fixes FTBFS duew to the warnings-as-error hardening
+Author: Paul Dreik <debianbugs at pauldreik.se>
+Acked-By: Anton Gladky <gladk at debian.org>
+Bug-Debian: https://bugs.debian.org/860604
+Last-Update: 2017-04-19
+
+--- python-escript-5.0.orig/escriptcore/src/BinaryDataReadyOps.cpp
++++ python-escript-5.0/escriptcore/src/BinaryDataReadyOps.cpp
+@@ -312,6 +312,7 @@ inline void binaryOpDataReadyHelperEET(D
+ LSCALAR dummyl=0;
+ RSCALAR dummyr=0;
+ DataTypes::RealVectorType::size_type valcount=res.getNumDPPSample()*DataTypes::noValues(res.getShape());
++ (void)valcount;
+
+ escript::binaryOpVectorTagged(res.getTypedVectorRW(resdummy),
+ res.getNumSamples(),res.getNumDPPSample(), DataTypes::noValues(res.getShape()),
+@@ -370,6 +371,7 @@ inline void binaryOpDataReadyHelperETE(D
+ LSCALAR dummyl=0;
+ RSCALAR dummyr=0;
+ DataTypes::RealVectorType::size_type valcount=res.getNumDPPSample()*DataTypes::noValues(res.getShape());
++ (void)valcount;
+
+ escript::binaryOpVectorTagged(res.getTypedVectorRW(resdummy),
+ res.getNumSamples(),res.getNumDPPSample(), DataTypes::noValues(res.getShape()),
diff --git a/debian/patches/series b/debian/patches/series
index 571df11..a0608dc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
nodatedoxygen
rootintar
fixopenmpiconf
+fixFTBFS.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-escript.git
More information about the debian-science-commits
mailing list