Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4308
--- /dev/null
+--- a/server/data.cc
++++ b/server/data.cc
+@@ -68,7 +68,7 @@
+ }
+ }
+
+-Statement::~Statement()
++Statement::~Statement() NOEXCEPT
+ {
+ if (sqlite3_finalize(statement) != 0)
+ {
+--- a/server/data.h
++++ b/server/data.h
+@@ -26,6 +26,12 @@
+ #include <linux/dvb/frontend.h>
+ #include <glibmm.h>
+
++#if __cplusplus >= 201103L
++#define NOEXCEPT noexcept(false)
++#else
++#define NOEXCEPT
++#endif
++
+ typedef std::list<Glib::ustring> StringList;
+
+ namespace Data
+@@ -68,7 +74,7 @@
+
+ public:
+ Statement(Connection& connection, const Glib::ustring& command);
+- ~Statement();
++ ~Statement() NOEXCEPT;
+
+ void reset();
+ guint step();
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
src_prepare() {
append-cxxflags -std=c++11
epatch "${FILESDIR}"/${P}-gcc47.patch
+ epatch "${FILESDIR}"/${P}-C++11-throw-in-destructors.patch
eautoreconf
}