Package: gnuift Followup-For: Bug #667185 I’ve prepared a QA upload for this package, which fixes the FTBFS with GCC 4.7. Please find the debdiff attached.
-- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u gnuift-0.1.14/debian/changelog gnuift-0.1.14/debian/changelog --- gnuift-0.1.14/debian/changelog +++ gnuift-0.1.14/debian/changelog @@ -1,3 +1,10 @@ +gnuift (0.1.14-12) unstable; urgency=low + + * QA upload. + * New patch 12_gcc-4.7.diff, fixes FTBFS with GCC 4.7 (Closes: #667185) + + -- Sébastien Villemot <sebastien.ville...@ens.fr> Mon, 28 May 2012 10:20:54 +0000 + gnuift (0.1.14-11) unstable; urgency=low * QA upload only in patch2: unchanged: --- gnuift-0.1.14.orig/debian/patches/12_gcc-4.7.diff +++ gnuift-0.1.14/debian/patches/12_gcc-4.7.diff @@ -0,0 +1,22 @@ +--- gift-0.1.14/libGIFTAcDistanceMatrix/include/CPersistentMatrix.h.orig 2005-03-24 09:18:15.000000000 +0000 ++++ gift-0.1.14/libGIFTAcDistanceMatrix/include/CPersistentMatrix.h 2012-05-28 10:14:25.926330448 +0000 +@@ -75,7 +75,7 @@ + + template<class T> + bool CPersistentMatrix<T>::create(char const* inFileName)const{ +- fstream* lFile=new fstream(inFileName,fstream::out+fstream::in); ++ fstream* lFile=new fstream(inFileName,fstream::out|fstream::in); + CPersistentVector<T> lLine(mXSize); + if(lFile){ + for(long i=0; +--- gift-0.1.14/libGIFTAcDistanceMatrix/include/CPersistentVector.h.orig 2005-03-24 09:18:15.000000000 +0000 ++++ gift-0.1.14/libGIFTAcDistanceMatrix/include/CPersistentVector.h 2012-05-28 10:16:08.016365999 +0000 +@@ -110,7 +110,7 @@ + + assert(lToBeRead>=0 && lToBeRead<=1); + +- push_back(lToBeRead); ++ this->push_back(lToBeRead); + } + mLength=inLength; + return inStream;