summaryrefslogtreecommitdiff
path: root/sci-libs/beagle/files
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/beagle/files')
-rw-r--r--sci-libs/beagle/files/beagle-3.0.3-fix-c++14.patch30
-rw-r--r--sci-libs/beagle/files/beagle-3.0.3-gcc43.patch89
-rw-r--r--sci-libs/beagle/files/beagle-3.0.3-gcc47.patch10
3 files changed, 0 insertions, 129 deletions
diff --git a/sci-libs/beagle/files/beagle-3.0.3-fix-c++14.patch b/sci-libs/beagle/files/beagle-3.0.3-fix-c++14.patch
deleted file mode 100644
index 896b58225890..000000000000
--- a/sci-libs/beagle/files/beagle-3.0.3-fix-c++14.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Fix building with C++14, where destructors are noexcept(true) by default.
-See also: https://bugs.gentoo.org/show_bug.cgi?id=597342
-
---- a/PACC/Threading/Thread.cpp
-+++ b/PACC/Threading/Thread.cpp
-@@ -79,6 +79,9 @@
- \attention If the destructor in the derived thread class (e.g. MyThread above) does not wait for thread termination, the potential hazardous situation is that the runtime system will have deleted all of its members before calling this destructor (in C++, class destructors are called in reversed sequence). Thus, the still running thread could access deleted data members with unpredictable and unexpected results. So beware!
- */
- Threading::Thread::~Thread(void)
-+#if __cplusplus >= 201103L
-+ noexcept(false)
-+#endif
- {
- lock();
- if(mThread) {
---- a/PACC/Threading/Thread.hpp
-+++ b/PACC/Threading/Thread.hpp
-@@ -53,7 +53,11 @@
- class Thread : public Condition {
- public:
- Thread(void);
-- virtual ~Thread(void);
-+ virtual ~Thread(void)
-+#if __cplusplus >= 201103L
-+ noexcept(false)
-+#endif
-+ ;
-
- void cancel(void);
- bool isRunning(void) const;
diff --git a/sci-libs/beagle/files/beagle-3.0.3-gcc43.patch b/sci-libs/beagle/files/beagle-3.0.3-gcc43.patch
deleted file mode 100644
index 608ce388e793..000000000000
--- a/sci-libs/beagle/files/beagle-3.0.3-gcc43.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-diff -rupN beagle-3.0.3b/PACC/Math/Matrix.cpp beagle-3.0.3/PACC/Math/Matrix.cpp
---- beagle-3.0.3b/PACC/Math/Matrix.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Math/Matrix.cpp 2009-01-21 00:26:46.000000000 -0400
-@@ -40,6 +40,7 @@
- #include <stdexcept>
- #include <iomanip>
- #include <cmath>
-+#include <climits>
-
- using namespace std;
- using namespace PACC;
-diff -rupN beagle-3.0.3b/PACC/Math/Vector.hpp beagle-3.0.3/PACC/Math/Vector.hpp
---- beagle-3.0.3b/PACC/Math/Vector.hpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Math/Vector.hpp 2009-01-21 00:26:29.000000000 -0400
-@@ -42,6 +42,7 @@
- #include "XML/Document.hpp"
- #include "XML/Streamer.hpp"
- #include <cmath>
-+#include <algorithm>
-
- namespace PACC {
-
-diff -rupN beagle-3.0.3b/PACC/Socket/Cafe.cpp beagle-3.0.3/PACC/Socket/Cafe.cpp
---- beagle-3.0.3b/PACC/Socket/Cafe.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Socket/Cafe.cpp 2009-01-21 00:31:09.000000000 -0400
-@@ -35,6 +35,7 @@
-
- #include "Socket/Cafe.hpp"
- #include <iostream>
-+#include <cstring>
-
- #ifdef WIN32
- ///////////// specifics for windows /////////////
-diff -rupN beagle-3.0.3b/PACC/Socket/Port.cpp beagle-3.0.3/PACC/Socket/Port.cpp
---- beagle-3.0.3b/PACC/Socket/Port.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Socket/Port.cpp 2009-01-21 00:30:54.000000000 -0400
-@@ -34,6 +34,7 @@
- */
-
- #include "Socket/Port.hpp"
-+#include <cstring>
-
- #ifdef WIN32
- ///////////// specifics for windows /////////////
-diff -rupN beagle-3.0.3b/PACC/Threading/Thread.cpp beagle-3.0.3/PACC/Threading/Thread.cpp
---- beagle-3.0.3b/PACC/Threading/Thread.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Threading/Thread.cpp 2009-01-21 00:28:02.000000000 -0400
-@@ -35,6 +35,7 @@
-
- #include "Threading/Thread.hpp"
- #include "Util/Assert.hpp"
-+#include <cstdlib>
-
- #ifdef WIN32
- #include <windows.h>
-diff -rupN beagle-3.0.3b/PACC/Util/SignalHandler.cpp beagle-3.0.3/PACC/Util/SignalHandler.cpp
---- beagle-3.0.3b/PACC/Util/SignalHandler.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Util/SignalHandler.cpp 2009-01-20 23:44:20.000000000 -0400
-@@ -37,6 +37,7 @@
- #include "Util/Assert.hpp"
- #include <signal.h>
- #include <stdexcept>
-+#include <cstdlib>
-
- using namespace std;
- using namespace PACC;
-diff -rupN beagle-3.0.3b/PACC/Util/Tokenizer.cpp beagle-3.0.3/PACC/Util/Tokenizer.cpp
---- beagle-3.0.3b/PACC/Util/Tokenizer.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/Util/Tokenizer.cpp 2009-01-20 23:44:10.000000000 -0400
-@@ -36,6 +36,8 @@
- #include "Util/Tokenizer.hpp"
- #include "Util/Assert.hpp"
- #include <stdexcept>
-+#include <cstring>
-+#include <cstdlib>
-
- using namespace std;
- using namespace PACC;
-diff -rupN beagle-3.0.3b/PACC/XML/Node.cpp beagle-3.0.3/PACC/XML/Node.cpp
---- beagle-3.0.3b/PACC/XML/Node.cpp 2009-01-20 23:38:39.000000000 -0400
-+++ beagle-3.0.3/PACC/XML/Node.cpp 2009-01-20 23:45:09.000000000 -0400
-@@ -39,6 +39,7 @@
- #include "Util/Assert.hpp"
- #include <sstream>
- #include <stdexcept>
-+#include <cstring>
-
- using namespace std;
- using namespace PACC;
diff --git a/sci-libs/beagle/files/beagle-3.0.3-gcc47.patch b/sci-libs/beagle/files/beagle-3.0.3-gcc47.patch
deleted file mode 100644
index b74fb32b9989..000000000000
--- a/sci-libs/beagle/files/beagle-3.0.3-gcc47.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/beagle/include/beagle/RouletteT.hpp
-+++ b/beagle/include/beagle/RouletteT.hpp
-@@ -87,7 +87,7 @@
- Beagle_StackTraceBeginM();
- Beagle_AssertM(inWeight>=0.0);
- if(VectorType::empty()==false) inWeight += VectorType::back().first;
-- push_back(std::make_pair(inWeight,inValue));
-+ this->push_back(std::make_pair(inWeight,inValue));
- Beagle_StackTraceEndM("void RouletteT<T>::insert(const T& inValue, double inWeight)");
- }