diff options
Diffstat (limited to 'recipes-sato/rxvt-unicode/rxvt-unicode')
-rw-r--r-- | recipes-sato/rxvt-unicode/rxvt-unicode/0001-libptytty-Correct-a-typo-to-make-it-build-with-C-11.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libptytty-Correct-a-typo-to-make-it-build-with-C-11.patch b/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libptytty-Correct-a-typo-to-make-it-build-with-C-11.patch new file mode 100644 index 0000000..408d6a0 --- /dev/null +++ b/recipes-sato/rxvt-unicode/rxvt-unicode/0001-libptytty-Correct-a-typo-to-make-it-build-with-C-11.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From a92a8b8e7a197a112f41e41ccac77541fd887eb9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Peter Kjellerstedt <pkj@axis.com> | ||
3 | Date: Thu, 26 Apr 2018 01:25:06 +0200 | ||
4 | Subject: [PATCH] libptytty: Correct a typo to make it build with C++11 | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> | ||
8 | --- | ||
9 | libptytty/src/estl.h | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/libptytty/src/estl.h b/libptytty/src/estl.h | ||
13 | index 9552238..4e47392 100644 | ||
14 | --- a/libptytty/src/estl.h | ||
15 | +++ b/libptytty/src/estl.h | ||
16 | @@ -67,7 +67,7 @@ private: | ||
17 | { | ||
18 | #if __cplusplus >= 201103L | ||
19 | return std::is_trivially_assignable<T, T>::value | ||
20 | - && std::is_trivially_constructable<T>::value | ||
21 | + && std::is_trivially_constructible<T>::value | ||
22 | && std::is_trivially_copyable<T>::value | ||
23 | && std::is_trivially_destructible<T>::value; | ||
24 | #elif ECB_GCC_VERSION(4,4) | ||