diff options
author | rakuco <rakuco@FreeBSD.org> | 2017-08-16 15:34:22 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2017-08-16 15:34:22 +0800 |
commit | 97e163318b36c96f92e0a560bb45b4ac8d5a4080 (patch) | |
tree | 554a8f38673379df0fd7245a168ef89845549d60 /science | |
parent | 1560cca4ea4abba8d2b95098ae37246c319dd32f (diff) | |
download | freebsd-ports-gnome-97e163318b36c96f92e0a560bb45b4ac8d5a4080.tar.gz freebsd-ports-gnome-97e163318b36c96f92e0a560bb45b4ac8d5a4080.tar.zst freebsd-ports-gnome-97e163318b36c96f92e0a560bb45b4ac8d5a4080.zip |
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)
Diffstat (limited to 'science')
-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); |