dev-cpp/waylandpp: Fix ‘runtime_error’ is not a member of ‘std’

Closes: https://bugs.gentoo.org/729200
Package-Manager: Portage-2.3.102, Repoman-2.3.23
Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
Craig Andrews
2020-06-23 11:34:27 -04:00
parent 6e44ba30eb
commit 57ebbe280c
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
From 695c0881101435a57d24c84d04cbcb79eec49903 Mon Sep 17 00:00:00 2001
From: Rechi <Rechi@users.noreply.github.com>
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 <algorithm>
#include <memory>
+#include <stdexcept>
#include <string>
#include <typeinfo>
#include <utility>

View File

@@ -32,6 +32,10 @@ DEPEND="${RDEPEND}
)
"
PATCHES=(
"${FILESDIR}/${P}-fix-std-runtime_error.patch"
)
src_configure() {
local mycmakeargs=(
-DBUILD_DOCUMENTATION=$(usex doc)