summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--science/gnudatalanguage/files/patch-src_specializations.hpp22
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);