sci-biology/abyss: bump up to 1.9.0, tweak for gcc-6, bug #594254
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 18 Sep 2016 21:41:58 +0000 (22:41 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 18 Sep 2016 21:42:08 +0000 (22:42 +0100)
commite5fd69e7be7b26a7b7481453553393865d823906
tree79ff117f357575a131e847a26de5623a800e7c1a
parent47510f3ef16cd103897ce2be858c5fbdee9de001
sci-biology/abyss: bump up to 1.9.0, tweak for gcc-6, bug #594254

On gcc-6 build failed as:
```
    In file included from AssemblyAlgorithms.cpp:4:0:
    ../DataLayer/FastaReader.h: In member function ‘FastaReader::operator void*() const’:
    ../DataLayer/FastaReader.h:49:35: error: cannot convert ‘std::istream {aka std::basic_istream<char>}’ to ‘void*’ ...
       operator void*() const { return m_in; }
                                       ^~~~
```

In the following source:
```c++
   static bool existFile(const char* f)
   {
        ifstream file(f);
        return file;
   }

```

c++98 provides file->operator void*()
c++11 provides file->explicit operator bool()

Hence the failure on c++11.

The change adds explicit casts around ifstream.

Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/594254

Package-Manager: portage-2.3.0
sci-biology/abyss/Manifest
sci-biology/abyss/abyss-1.9.0.ebuild [new file with mode: 0644]
sci-biology/abyss/files/abyss-1.9.0-ac_prog_ar.patch [new file with mode: 0644]
sci-biology/abyss/files/abyss-1.9.0-gcc-6.patch [new file with mode: 0644]