diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-26 21:08:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-26 21:08:42 +0100 |
commit | 90e9e4843d7d63c5e7fa1f5d6d6f4cc7350ce77c (patch) | |
tree | 16bc65eacafd47e7f03f3a52a344a17ba1f1b316 /gui-libs/vte-common/files/vte-common-0.70.0-musl-W_EXITCODE.patch | |
parent | 2ad011cd42b40aebf90105be4521fb1727266d1d (diff) |
gentoo auto-resync : 26:09:2022 - 21:08:42
Diffstat (limited to 'gui-libs/vte-common/files/vte-common-0.70.0-musl-W_EXITCODE.patch')
-rw-r--r-- | gui-libs/vte-common/files/vte-common-0.70.0-musl-W_EXITCODE.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gui-libs/vte-common/files/vte-common-0.70.0-musl-W_EXITCODE.patch b/gui-libs/vte-common/files/vte-common-0.70.0-musl-W_EXITCODE.patch new file mode 100644 index 000000000000..b629613feaf6 --- /dev/null +++ b/gui-libs/vte-common/files/vte-common-0.70.0-musl-W_EXITCODE.patch @@ -0,0 +1,29 @@ +https://gitlab.gnome.org/GNOME/vte/-/issues/72 +https://bugs.gentoo.org/835489 +https://bugs.gentoo/org/554416 + +From 1c1de9e9119cf1e0ef45a594ca9bbf306d2209cb Mon Sep 17 00:00:00 2001 +From: +Date: Fri, 12 Mar 2021 08:41:13 -0600 +Subject: [PATCH] Expanded non-standard W_EXITCODE macro for Musl compatibility + +--- a/src/widget.cc ++++ b/src/widget.cc +@@ -20,8 +20,6 @@ + + #include "widget.hh" + +-#include <sys/wait.h> // for W_EXITCODE +- + #include <exception> + #include <new> + #include <string> +@@ -235,7 +233,7 @@ void + Widget::dispose() noexcept + { + if (m_terminal->terminate_child()) { +- int status = W_EXITCODE(0, SIGKILL); ++ int status = (0) << 8 | (SIGKILL); // W_EXITCODE(ret, sig) + emit_child_exited(status); + } + } |