summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/btanks/files/btanks-0.9.8083-gcc6.patch')
-rw-r--r--games-action/btanks/files/btanks-0.9.8083-gcc6.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/games-action/btanks/files/btanks-0.9.8083-gcc6.patch b/games-action/btanks/files/btanks-0.9.8083-gcc6.patch
deleted file mode 100644
index 5f11379d8056..000000000000
--- a/games-action/btanks/files/btanks-0.9.8083-gcc6.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Bug: https://bugs.gentoo.org/609692
-
---- a/mrt/timespy.cpp
-+++ b/mrt/timespy.cpp
-@@ -43,7 +43,7 @@
- throw_io(("gettimeofday"));
- }
-
--TimeSpy::~TimeSpy() {
-+TimeSpy::~TimeSpy() DTOR_NOEXCEPT {
- struct timeval now;
- if (gettimeofday(&now, NULL) == -1)
- throw_io(("gettimeofday"));
---- a/mrt/timespy.h
-+++ b/mrt/timespy.h
-@@ -37,11 +37,17 @@
- #include "fmt.h"
- #include "export_mrt.h"
-
-+#if __cplusplus >= 201103L
-+#define DTOR_NOEXCEPT noexcept(false)
-+#else
-+#define DTOR_NOEXCEPT
-+#endif
-+
- namespace mrt {
- class MRTAPI TimeSpy {
- public:
- TimeSpy(const std::string &message);
-- ~TimeSpy();
-+ ~TimeSpy() DTOR_NOEXCEPT;
- private:
- TimeSpy(const TimeSpy&);
- const TimeSpy& operator=(const TimeSpy&);