summaryrefslogtreecommitdiffstats
path: root/recipes-sato/rxvt-unicode
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2018-04-26 01:34:46 +0200
committerPeter Kjellerstedt <pkj@axis.com>2018-04-26 01:34:46 +0200
commit1f34027fbefbe24b4edd56fd1797e5f23a4ea50c (patch)
treeb83af490fe9c9d84f8ba5df7ad96d4c1805476ba /recipes-sato/rxvt-unicode
parentbe45b95616c3bcf9a048c7d76db8ab08009140f3 (diff)
downloadmeta-gplv2-1f34027fbefbe24b4edd56fd1797e5f23a4ea50c.tar.gz
rxvt-unicode: Make it build with C++11
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Diffstat (limited to 'recipes-sato/rxvt-unicode')
-rw-r--r--recipes-sato/rxvt-unicode/rxvt-unicode/0001-libptytty-Correct-a-typo-to-make-it-build-with-C-11.patch24
-rw-r--r--recipes-sato/rxvt-unicode/rxvt-unicode_9.20.bb2
2 files changed, 26 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 @@
1From a92a8b8e7a197a112f41e41ccac77541fd887eb9 Mon Sep 17 00:00:00 2001
2From: Peter Kjellerstedt <pkj@axis.com>
3Date: Thu, 26 Apr 2018 01:25:06 +0200
4Subject: [PATCH] libptytty: Correct a typo to make it build with C++11
5
6Upstream-Status: Backport
7Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
8---
9 libptytty/src/estl.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/libptytty/src/estl.h b/libptytty/src/estl.h
13index 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)
diff --git a/recipes-sato/rxvt-unicode/rxvt-unicode_9.20.bb b/recipes-sato/rxvt-unicode/rxvt-unicode_9.20.bb
index 3480ec7..1f83559 100644
--- a/recipes-sato/rxvt-unicode/rxvt-unicode_9.20.bb
+++ b/recipes-sato/rxvt-unicode/rxvt-unicode_9.20.bb
@@ -4,5 +4,7 @@ LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
5 file://src/main.C;beginline=1;endline=31;md5=775485398a09fa7aee6f90464af88432" 5 file://src/main.C;beginline=1;endline=31;md5=775485398a09fa7aee6f90464af88432"
6 6
7SRC_URI += "file://0001-libptytty-Correct-a-typo-to-make-it-build-with-C-11.patch"
8
7SRC_URI[md5sum] = "4a5b823f08d21036f94a6c51e94d025b" 9SRC_URI[md5sum] = "4a5b823f08d21036f94a6c51e94d025b"
8SRC_URI[sha256sum] = "e73e13fe64b59fd3c8e6e20c00f149d388741f141b8155e4700d3ed40aa94b4e" 10SRC_URI[sha256sum] = "e73e13fe64b59fd3c8e6e20c00f149d388741f141b8155e4700d3ed40aa94b4e"