[esys-particle] 03/04: Fix FTBFS with gcc-6. (Closes: #811838)

Anton Gladky gladk at moszumanska.debian.org
Wed Aug 10 20:26:05 UTC 2016


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

gladk pushed a commit to branch master
in repository esys-particle.

commit 04eefeb9d13b9eae58ca6291a42da9420e373f3d
Author: Anton Gladky <gladk at debian.org>
Date:   Wed Aug 10 20:43:37 2016 +0200

    Fix FTBFS with gcc-6. (Closes: #811838)
---
 debian/patches/06_fix_FTBFS_gcc6.patch | 18 ++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/06_fix_FTBFS_gcc6.patch b/debian/patches/06_fix_FTBFS_gcc6.patch
new file mode 100644
index 0000000..720726e
--- /dev/null
+++ b/debian/patches/06_fix_FTBFS_gcc6.patch
@@ -0,0 +1,18 @@
+Description: Fix FTBFS with gcc-6.
+Author: Anton Gladky <gladk at debian.org>
+Bug-Debian: https://bugs.debian.org/811838
+Last-Update: 2016-08-10
+
+Index: ESyS-Particle-2.3.4/Tools/dump2vtk/frame_vtk.cpp
+===================================================================
+--- ESyS-Particle-2.3.4.orig/Tools/dump2vtk/frame_vtk.cpp
++++ ESyS-Particle-2.3.4/Tools/dump2vtk/frame_vtk.cpp
+@@ -1276,7 +1276,7 @@ void writeMeshFile(const string& infilen
+   string header,skip;
+   int numMeshIG;
+ 
+-  while (datafile >> header != NULL){
++  while ((datafile >> header)){
+     if (header == "TMIG"){
+       datafile >> numMeshIG;
+       for(int ni=0;ni<numMeshIG;ni++){
diff --git a/debian/patches/series b/debian/patches/series
index ba69ef1..5ebda05 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 03_ax-boost.patch
 04_FixDocGeneration.patch
 05_fix_epydoc_timestamp.patch
+06_fix_FTBFS_gcc6.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/esys-particle.git



More information about the debian-science-commits mailing list