summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/vte/vte/0001-vtepty.cc-Do-not-typecast-to-GSpawnFlags.patch58
-rw-r--r--meta/recipes-support/vte/vte_0.72.0.bb (renamed from meta/recipes-support/vte/vte_0.70.3.bb)5
2 files changed, 2 insertions, 61 deletions
diff --git a/meta/recipes-support/vte/vte/0001-vtepty.cc-Do-not-typecast-to-GSpawnFlags.patch b/meta/recipes-support/vte/vte/0001-vtepty.cc-Do-not-typecast-to-GSpawnFlags.patch
deleted file mode 100644
index 16553b506f..0000000000
--- a/meta/recipes-support/vte/vte/0001-vtepty.cc-Do-not-typecast-to-GSpawnFlags.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From 9c7654e063d65fb2645459a32fd14eebab484857 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 1 Mar 2023 15:50:26 -0800
4Subject: [PATCH] vtepty.cc: Do not typecast to GSpawnFlags
5
6GSpawnFlags is enum with max value 1 << 15 which means it fits into a
7short int, however here we are OR'ing VTE_SPAWN_* as well which have
8higher values
9
10Fixes error like
11src/vtepty.cc:577:16: error: integer value 234881535 is outside the valid range of values [0, 4095] for this enumeration type [-Wenum-constexpr-conversion]
12
13Fixes issue https://gitlab.gnome.org/GNOME/vte/-/issues/2618
14
15Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/vte/-/issues/2618]
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 src/vtepty.cc | 24 ++++++++++++------------
19 1 file changed, 12 insertions(+), 12 deletions(-)
20
21diff --git a/src/vtepty.cc b/src/vtepty.cc
22index 3aaa0d6b..2da2675f 100644
23--- a/src/vtepty.cc
24+++ b/src/vtepty.cc
25@@ -574,18 +574,18 @@ catch (...)
26 static constexpr inline auto
27 all_spawn_flags() noexcept
28 {
29- return GSpawnFlags(G_SPAWN_LEAVE_DESCRIPTORS_OPEN |
30- G_SPAWN_DO_NOT_REAP_CHILD |
31- G_SPAWN_SEARCH_PATH |
32- G_SPAWN_STDOUT_TO_DEV_NULL |
33- G_SPAWN_STDERR_TO_DEV_NULL |
34- G_SPAWN_CHILD_INHERITS_STDIN |
35- G_SPAWN_FILE_AND_ARGV_ZERO |
36- G_SPAWN_SEARCH_PATH_FROM_ENVP |
37- G_SPAWN_CLOEXEC_PIPES |
38- VTE_SPAWN_NO_PARENT_ENVV |
39- VTE_SPAWN_NO_SYSTEMD_SCOPE |
40- VTE_SPAWN_REQUIRE_SYSTEMD_SCOPE);
41+ return (G_SPAWN_LEAVE_DESCRIPTORS_OPEN |
42+ G_SPAWN_DO_NOT_REAP_CHILD |
43+ G_SPAWN_SEARCH_PATH |
44+ G_SPAWN_STDOUT_TO_DEV_NULL |
45+ G_SPAWN_STDERR_TO_DEV_NULL |
46+ G_SPAWN_CHILD_INHERITS_STDIN |
47+ G_SPAWN_FILE_AND_ARGV_ZERO |
48+ G_SPAWN_SEARCH_PATH_FROM_ENVP |
49+ G_SPAWN_CLOEXEC_PIPES |
50+ VTE_SPAWN_NO_PARENT_ENVV |
51+ VTE_SPAWN_NO_SYSTEMD_SCOPE |
52+ VTE_SPAWN_REQUIRE_SYSTEMD_SCOPE);
53 }
54
55 static constexpr inline auto
56--
572.39.2
58
diff --git a/meta/recipes-support/vte/vte_0.70.3.bb b/meta/recipes-support/vte/vte_0.72.0.bb
index 6da76a3053..c08ac879e1 100644
--- a/meta/recipes-support/vte/vte_0.70.3.bb
+++ b/meta/recipes-support/vte/vte_0.72.0.bb
@@ -20,9 +20,8 @@ GIDOCGEN_MESON_OPTION = "docs"
20inherit gnomebase gi-docgen features_check upstream-version-is-even gobject-introspection 20inherit gnomebase gi-docgen features_check upstream-version-is-even gobject-introspection
21 21
22# vapigen.m4 is required when vala is not present (but the one from vala should be used normally) 22# vapigen.m4 is required when vala is not present (but the one from vala should be used normally)
23SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \ 23SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch"
24 file://0001-vtepty.cc-Do-not-typecast-to-GSpawnFlags.patch" 24SRC_URI[archive.sha256sum] = "40fe914d6c70db34176c922725b6c6ea15d5f3cb2a9b44c57e200a5f950a6736"
25SRC_URI[archive.sha256sum] = "9457134a02f3157fca04f7e0d39bdb0f3099be0a3ce82b7139d0c98a80748f23"
26 25
27ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 26ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
28 27