diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2017-08-16 07:34:22 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2017-08-16 07:34:22 +0000 |
commit | 82897c67c1f625400212af5f2d4046fcdd23bdb3 (patch) | |
tree | 554a8f38673379df0fd7245a168ef89845549d60 | |
parent | - Update to 1.13.1 (diff) |
Backport a patch to fix the build with GCC 6.
Obtained from: https://sourceforge.net/p/gnudatalanguage/bugs/688/#4622
PR: 219300
Approved by: thierry (maintainer)
-rw-r--r-- | science/gnudatalanguage/files/patch-src_specializations.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/science/gnudatalanguage/files/patch-src_specializations.hpp b/science/gnudatalanguage/files/patch-src_specializations.hpp new file mode 100644 index 000000000000..a0665f054267 --- /dev/null +++ b/science/gnudatalanguage/files/patch-src_specializations.hpp @@ -0,0 +1,22 @@ +Fix the build with GCC 6 (bug 219300). + +Obtained from: https://sourceforge.net/p/gnudatalanguage/bugs/688/#4622 +--- src/specializations.hpp.orig 2017-08-15 19:53:08 UTC ++++ src/specializations.hpp +@@ -534,16 +534,6 @@ void Data_<SpDString>::MinMax( DLong* minE, DLong* max + + // default_io.cpp + template<> +-std::istream& operator>>(std::istream& i, Data_<SpDFloat>& data_); +-template<> +-std::istream& operator>>(std::istream& i, Data_<SpDDouble>& data_); +-template<> +-std::istream& operator>>(std::istream& i, Data_<SpDComplex>& data_); +-template<> +-std::istream& operator>>(std::istream& i, Data_<SpDComplexDbl>& data_); +-template<> +-std::istream& operator>>(std::istream& is, Data_<SpDString>& data_); +-template<> + std::ostream& Data_<SpDLong>::ToStream(std::ostream& o, SizeT w, SizeT* actPosPtr); + template<> + std::ostream& Data_<SpDULong>::ToStream(std::ostream& o, SizeT w, SizeT* actPosPtr); |