diff options
Diffstat (limited to 'meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch')
-rw-r--r-- | meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch b/meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch new file mode 100644 index 0000000000..f10dca09d6 --- /dev/null +++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libev-remove-deprecated-throw-specification.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 9a8f1d73e7b7e183768a8379ef32429a84f0e5c2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 26 Feb 2021 18:11:56 -0800 | ||
4 | Subject: [PATCH] libev: remove deprecated throw specification | ||
5 | |||
6 | removes the throw specifications that are deprecated since C++11: | ||
7 | warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | libev/ev++.h | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/libev/ev++.h b/libev/ev++.h | ||
16 | index 4f0a36a..85ddf44 100644 | ||
17 | --- a/libev/ev++.h | ||
18 | +++ b/libev/ev++.h | ||
19 | @@ -376,7 +376,7 @@ namespace ev { | ||
20 | |||
21 | struct default_loop : loop_ref | ||
22 | { | ||
23 | - default_loop (unsigned int flags = AUTO) throw (bad_loop) | ||
24 | + default_loop (unsigned int flags = AUTO) | ||
25 | #if EV_MULTIPLICITY | ||
26 | : loop_ref (ev_default_loop (flags)) | ||
27 | #endif | ||
28 | -- | ||
29 | 2.30.1 | ||
30 | |||