summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/commoncpp2/files/1.8.1-fix-c++14.patch')
-rw-r--r--dev-cpp/commoncpp2/files/1.8.1-fix-c++14.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-cpp/commoncpp2/files/1.8.1-fix-c++14.patch b/dev-cpp/commoncpp2/files/1.8.1-fix-c++14.patch
deleted file mode 100644
index cc921060b303..000000000000
--- a/dev-cpp/commoncpp2/files/1.8.1-fix-c++14.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Fix building with C++14, which errors out due changed noexcept()
-semantics for dtors caught by -Werror=terminate.
-
-See also: https://bugs.gentoo.org/show_bug.cgi?id=595422
-
---- a/src/nat.cpp
-+++ b/src/nat.cpp
-@@ -145,11 +145,11 @@
- "nat lookup successful",
- "nat address not in table",
- "nat not supported/implemented",
-- "unable to open device "NAT_DEVICE,
-+ "unable to open device " NAT_DEVICE,
- "unable to get socket name",
- "unable to get peer name",
- "unable to get socket type",
-- "unable to lookup, nat "NAT_SYSCALL" failed",
-+ "unable to lookup, nat " NAT_SYSCALL " failed",
- "unkown nat error code"
- };
-
---- a/src/socket.cpp
-+++ b/src/socket.cpp
-@@ -2971,12 +2971,7 @@
-
- TCPStream::~TCPStream()
- {
--#ifdef CCXX_EXCEPTIONS
-- try { endStream(); }
-- catch( ... ) { if ( ! std::uncaught_exception()) throw;};
--#else
-- endStream();
--#endif
-+ endStream();
- }
-
- #ifdef HAVE_GETADDRINFO
---- a/src/ssl.cpp
-+++ b/src/ssl.cpp
-@@ -441,12 +441,7 @@
-
- SSLStream::~SSLStream()
- {
--#ifdef CCXX_EXCEPTIONS
-- try { endStream(); }
-- catch( ...) { if ( ! std::uncaught_exception()) throw;};
--#else
- endStream();
--#endif
- }
-
- #ifdef CCXX_NAMESPACES