diff options
author | Nicholas Vinson <nvinson234@gmail.com> | 2017-01-12 06:28:07 -0800 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-01-13 17:13:39 +0100 |
commit | 2f68c7a59f7e94579b72450618e1e7e799fcffe4 (patch) | |
tree | 1af8e7a78607e353f79976b6a240a7ede43cd15b /sci-biology/mira/files | |
parent | sci-physics/lammps: version bump (diff) | |
download | gentoo-2f68c7a59f7e94579b72450618e1e7e799fcffe4.tar.gz gentoo-2f68c7a59f7e94579b72450618e1e7e799fcffe4.tar.bz2 gentoo-2f68c7a59f7e94579b72450618e1e7e799fcffe4.zip |
sci-biology/mira: Update flex-2.6.3 fix; add cmath header
Another round of testing discovered that caf_flexer.cc is also a
pre-generated lexer. The commit updates the ebuild to remove that
file as well. The file abs.C fails to find the pow() function.
Modern versions of C++ store the header for that function in cmath.
The file is updated to include that header.
Gentoo-bug: 585942
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3442
Diffstat (limited to 'sci-biology/mira/files')
-rw-r--r-- | sci-biology/mira/files/mira-4.0.2-cmath.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-biology/mira/files/mira-4.0.2-cmath.patch b/sci-biology/mira/files/mira-4.0.2-cmath.patch new file mode 100644 index 000000000000..a4a020177af7 --- /dev/null +++ b/sci-biology/mira/files/mira-4.0.2-cmath.patch @@ -0,0 +1,14 @@ +--- mira-4.0.2/src/mira/ads.C ++++ mira-4.0.2/src/mira/ads.C +@@ -31,10 +31,11 @@ + * Routines for computing scores and some other classification number are + * provided, too. + * + */ + ++#include <cmath> + + #include "ads.H" + + #include "errorhandling/errorhandling.H" + #include "util/dptools.H" |