summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-12-01 10:33:49 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-04 12:45:27 +0000
commit66d35dedcdd81c612421ae1268691120834566c2 (patch)
tree013844c5236211da50f192ce148d1be7bb6b4a87 /meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
parentedc72a4bd1cc8f97612fc4cae68c7d1d5a402c30 (diff)
downloadpoky-66d35dedcdd81c612421ae1268691120834566c2.tar.gz
vte: upgrade 0.72.2 -> 0.74.0
Rework recipe - remove legacy of the autotools buildsystem - remove BBCLASSEXTEND - build vapi dependent on gi-data - docs require gir, add a EXTRA_OEMESON:append to avoid fail in a combination where docs=true and gir=false - gtk+3 and gtk4 are requested by default-> add gtk4 depending on DISTRO_FEATURE - install systemd support files depending on DISTRO_FEATURE - update 0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch (From OE-Core rev: 47861220ab9358f1577d549eb367c2758e9f231e) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch')
-rw-r--r--meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch35
1 files changed, 14 insertions, 21 deletions
diff --git a/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch b/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
index b4100fc381..8934d5f80a 100644
--- a/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
+++ b/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
@@ -11,32 +11,25 @@ Upstream-Status: Submitted [1]
11Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 11Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
12 12
13[1] https://gitlab.gnome.org/GNOME/vte/issues/72 13[1] https://gitlab.gnome.org/GNOME/vte/issues/72
14
15--- 14---
16 src/missing.hh | 4 ++++ 15 src/widget.cc | 4 +++
17 src/widget.cc | 1 + 16 1 files changed, 4 insertions(+)
18 2 files changed, 5 insertions(+)
19 17
20--- a/src/missing.hh 18diff --git a/src/widget.cc b/src/widget.cc
21+++ b/src/missing.hh 19index 07f7cabf..31a77f68 100644
22@@ -24,6 +24,10 @@ 20--- a/src/widget.cc
23 #define NSIG (8 * sizeof(sigset_t)) 21+++ b/src/widget.cc
24 #endif 22@@ -16,6 +16,10 @@
23 * along with this library. If not, see <https://www.gnu.org/licenses/>.
24 */
25 25
26+#ifndef W_EXITCODE 26+#ifndef W_EXITCODE
27+#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) 27+#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
28+#endif 28+#endif
29+ 29+
30 #ifndef HAVE_FDWALK 30 #include "config.h"
31 int fdwalk(int (*cb)(void* data, int fd),
32 void* data);
33--- a/src/widget.cc
34+++ b/src/widget.cc
35@@ -21,6 +21,7 @@
36 #include "widget.hh"
37
38 #include <sys/wait.h> // for W_EXITCODE
39+#include "missing.hh" // for W_EXITCODE on non-glibc systems
40 31
41 #include <exception> 32 #include "widget.hh"
42 #include <new> 33--
342.42.0
35