From 57ebbe280ce99f7f5346b6507bc7dc4dcdeae41f Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Tue, 23 Jun 2020 11:34:27 -0400 Subject: [PATCH] =?UTF-8?q?dev-cpp/waylandpp:=20Fix=20=E2=80=98runtime=5Fe?= =?UTF-8?q?rror=E2=80=99=20is=20not=20a=20member=20of=20=E2=80=98std?= =?UTF-8?q?=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/729200 Package-Manager: Portage-2.3.102, Repoman-2.3.23 Signed-off-by: Craig Andrews --- ...aylandpp-0.2.7-fix-std-runtime_error.patch | 25 +++++++++++++++++++ dev-cpp/waylandpp/waylandpp-0.2.7.ebuild | 4 +++ 2 files changed, 29 insertions(+) create mode 100644 dev-cpp/waylandpp/files/waylandpp-0.2.7-fix-std-runtime_error.patch diff --git a/dev-cpp/waylandpp/files/waylandpp-0.2.7-fix-std-runtime_error.patch b/dev-cpp/waylandpp/files/waylandpp-0.2.7-fix-std-runtime_error.patch new file mode 100644 index 0000000000000..41e71eb237bcb --- /dev/null +++ b/dev-cpp/waylandpp/files/waylandpp-0.2.7-fix-std-runtime_error.patch @@ -0,0 +1,25 @@ +From 695c0881101435a57d24c84d04cbcb79eec49903 Mon Sep 17 00:00:00 2001 +From: Rechi +Date: Sat, 18 Jan 2020 23:37:46 +0100 +Subject: [PATCH] [fix] add missing stdexcept include after 2d834a6 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +fixes error: ‘runtime_error’ is not a member of ‘std’ +--- + include/wayland-util.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/wayland-util.hpp b/include/wayland-util.hpp +index 9cf5d04..1609651 100644 +--- a/include/wayland-util.hpp ++++ b/include/wayland-util.hpp +@@ -28,6 +28,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/dev-cpp/waylandpp/waylandpp-0.2.7.ebuild b/dev-cpp/waylandpp/waylandpp-0.2.7.ebuild index 6fda559666cb0..f25c7dccb2b2a 100644 --- a/dev-cpp/waylandpp/waylandpp-0.2.7.ebuild +++ b/dev-cpp/waylandpp/waylandpp-0.2.7.ebuild @@ -32,6 +32,10 @@ DEPEND="${RDEPEND} ) " +PATCHES=( + "${FILESDIR}/${P}-fix-std-runtime_error.patch" +) + src_configure() { local mycmakeargs=( -DBUILD_DOCUMENTATION=$(usex doc)