tags 667272 + patch
tags 667272 + pending
thanks

Dear maintainer,

I've prepared an NMU for mcmcpack (versioned as 1.2-2-1.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Didier Squiban: Varations sur laridé à 6 temps
diff -Nru mcmcpack-1.2-2/debian/changelog mcmcpack-1.2-2/debian/changelog
--- mcmcpack-1.2-2/debian/changelog	2012-03-22 18:53:10.000000000 +0100
+++ mcmcpack-1.2-2/debian/changelog	2012-05-08 17:06:15.000000000 +0200
@@ -1,3 +1,11 @@
+mcmcpack (1.2-2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "ftbfs with GCC-4.7": add patch gcc-4.7.patch ("this->" qualifier).
+    (Closes: #667272)
+
+ -- gregor herrmann <gre...@debian.org>  Tue, 08 May 2012 17:06:03 +0200
+
 mcmcpack (1.2-2-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru mcmcpack-1.2-2/debian/patches/gcc-4.7.patch mcmcpack-1.2-2/debian/patches/gcc-4.7.patch
--- mcmcpack-1.2-2/debian/patches/gcc-4.7.patch	1970-01-01 01:00:00.000000000 +0100
+++ mcmcpack-1.2-2/debian/patches/gcc-4.7.patch	2012-05-08 17:02:10.000000000 +0200
@@ -0,0 +1,33 @@
+Description: add this-> qualifier to avoid FTBFS with gcc 4.7
+Author: gregor herrmann <gre...@debian.org>
+Bug-Debian: http://bugs.debian.org/667272
+Forwarded: no
+
+--- mcmcpack-1.2-2.orig/src/matrix.h
++++ mcmcpack-1.2-2/src/matrix.h
+@@ -1276,10 +1276,10 @@ namespace scythe {
+ 					DBRef ()
+ 			{
+         if (STYLE == Concrete) {
+-          referenceNew(M.size());
++          this->referenceNew(M.size());
+           scythe::copy<ORDER,ORDER>(M, *this);
+         } else // STYLE == View
+-          referenceOther(M);
++          this->referenceOther(M);
+ 			}
+ 
+       /*! \brief Cross order and/or style copy constructor.
+@@ -1323,10 +1323,10 @@ namespace scythe {
+ 					DBRef ()
+ 			{
+         if (STYLE == Concrete) {
+-          referenceNew(M.size());
++          this->referenceNew(M.size());
+           scythe::copy<ORDER,ORDER> (M, *this);
+         } else // STYLE == View
+-          referenceOther(M);
++          this->referenceOther(M);
+ 			}
+ 
+       /*! \brief Cross type copy constructor
diff -Nru mcmcpack-1.2-2/debian/patches/series mcmcpack-1.2-2/debian/patches/series
--- mcmcpack-1.2-2/debian/patches/series	2010-03-31 03:12:29.000000000 +0200
+++ mcmcpack-1.2-2/debian/patches/series	2012-05-08 17:00:43.000000000 +0200
@@ -1 +1,2 @@
 debian-changes-1.0-5-1
+gcc-4.7.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to