From: Olivier Sallou Date: Tue, 3 May 2011 10:22:21 +0000 (+0000) Subject: gcc4.6 does not accept anymore such mutable X-Git-Tag: archive/raspbian/2.16.0+ds-7+rpi1~1^2~362 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8d7e5d1d5bf56dadaaf2126351cc8e2c547f114b;p=ncbi-blast%2B.git gcc4.6 does not accept anymore such mutable --- diff --git a/debian/patches/fix_gcc46_include_error b/debian/patches/fix_gcc46_include_error index 374c4ac2..c34fb5f9 100644 --- a/debian/patches/fix_gcc46_include_error +++ b/debian/patches/fix_gcc46_include_error @@ -1,6 +1,7 @@ Subject: GCC 4.6 compilation error due to missing def * include/corelib/ncbistre.hpp: Add stddef definition required by gcc4.6 + * src/objtools/blast/seqdb_reader/seqdbimpl.hpp: remove mutable reference Author: Olivier Sallou Last-Update: 2011-05-03 @@ -14,3 +15,14 @@ Last-Update: 2011-05-03 // (BEGIN_NCBI_SCOPE must be followed by END_NCBI_SCOPE later in this file) +--- a/src/objtools/blast/seqdb_reader/seqdbimpl.hpp ++++ b/src/objtools/blast/seqdb_reader/seqdbimpl.hpp +@@ -1245,7 +1245,7 @@ + CSeqDBAtlasHolder m_AtlasHolder; + + /// Reference to memory management layer. +- mutable CSeqDBAtlas & m_Atlas; ++ CSeqDBAtlas & m_Atlas; + + /// The list of database names provided to the constructor. + string m_DBNames;