[Debian-med-packaging] Bug#672045: add patch, uploaded to delayed/5

Matthias Klose doko at debian.org
Tue May 22 00:36:58 UTC 2012


tags 672045 + patch pending
thanks

add patch, uploaded to delayed/5
-------------- next part --------------
diff -Nru cain-1.9/debian/changelog cain-1.9/debian/changelog
--- cain-1.9/debian/changelog	2011-10-13 13:48:10.000000000 +0200
+++ cain-1.9/debian/changelog	2012-05-22 02:24:56.000000000 +0200
@@ -1,3 +1,10 @@
+cain (1.9-2.1) unstable; urgency=low
+
+  * Non maintainer upload.
+  * Fix build failure with GCC 4.7. Closes: #672045.
+
+ -- Matthias Klose <doko at debian.org>  Tue, 22 May 2012 00:23:34 +0000
+
 cain (1.9-2) unstable; urgency=low
 
   * changed the partitioning of the package
diff -Nru cain-1.9/debian/patches/ftbfs-gcc-4.7.diff cain-1.9/debian/patches/ftbfs-gcc-4.7.diff
--- cain-1.9/debian/patches/ftbfs-gcc-4.7.diff	1970-01-01 01:00:00.000000000 +0100
+++ cain-1.9/debian/patches/ftbfs-gcc-4.7.diff	2012-05-22 02:23:30.000000000 +0200
@@ -0,0 +1,13 @@
+Index: cain-1.9/src/stochastic/HistogramsAverageAps.h
+===================================================================
+--- cain-1.9.orig/src/stochastic/HistogramsAverageAps.h	2011-09-27 19:44:59.000000000 +0000
++++ cain-1.9/src/stochastic/HistogramsAverageAps.h	2012-05-22 00:23:28.604055485 +0000
+@@ -159,7 +159,7 @@
+             for (typename array::StaticArrayOfArrays<std::size_t>::const_iterator
+                   i = _reactionInfluence.begin(reactionIndex);
+                   i != _reactionInfluence.end(reactionIndex); ++i) {
+-               sum += _propensitiesFunctor(*i, _state.getPopulations()) -
++               sum += this->_propensitiesFunctor(*i, _state.getPopulations()) -
+                       _discreteGenerator[*i];
+             }
+             // Record the probabilities for this state.
diff -Nru cain-1.9/debian/patches/series cain-1.9/debian/patches/series
--- cain-1.9/debian/patches/series	2011-10-04 16:54:07.000000000 +0200
+++ cain-1.9/debian/patches/series	2012-05-22 02:22:45.000000000 +0200
@@ -1,2 +1,3 @@
 cain.patch
 eigen.patch
+ftbfs-gcc-4.7.diff


More information about the Debian-med-packaging mailing list