diff options
Diffstat (limited to 'recipes-sato/rxvt-unicode/rxvt-unicode/0001-libptytty-Correct-a-typo-to-make-it-build-with-C-11.patch')
-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 @@ +From a92a8b8e7a197a112f41e41ccac77541fd887eb9 Mon Sep 17 00:00:00 2001 +From: Peter Kjellerstedt <pkj@axis.com> +Date: Thu, 26 Apr 2018 01:25:06 +0200 +Subject: [PATCH] libptytty: Correct a typo to make it build with C++11 + +Upstream-Status: Backport +Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> +--- + libptytty/src/estl.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libptytty/src/estl.h b/libptytty/src/estl.h +index 9552238..4e47392 100644 +--- a/libptytty/src/estl.h ++++ b/libptytty/src/estl.h +@@ -67,7 +67,7 @@ private: + { + #if __cplusplus >= 201103L + return std::is_trivially_assignable<T, T>::value +- && std::is_trivially_constructable<T>::value ++ && std::is_trivially_constructible<T>::value + && std::is_trivially_copyable<T>::value + && std::is_trivially_destructible<T>::value; + #elif ECB_GCC_VERSION(4,4) |