Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 767310 Details for
Bug 835489
x11-libs/vte-0.66.2 - ../.../widget.cc: error: W_EXITCODE was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
workaround for w_exitcode for musl
vte-0.62.3-musl-remove-W_EXITCODE.patch (text/plain), 831 bytes, created by
Jory A. Pratt
on 2022-03-18 13:48:38 UTC
(
hide
)
Description:
workaround for w_exitcode for musl
Filename:
MIME Type:
Creator:
Jory A. Pratt
Created:
2022-03-18 13:48:38 UTC
Size:
831 bytes
patch
obsolete
>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 > >--- > src/widget.cc | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/src/widget.cc b/src/widget.cc >index 44a2271..109ff5f 100644 >--- 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); > } > } >-- >2.26.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 835489
:
767230
|
767231
|
767232
|
767233
|
767234
|
767235
|
767236
| 767310