diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 00:37:37 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 00:38:16 +0200 |
commit | 7d8a4effcef170250573f0b74393d4c4633652cf (patch) | |
tree | e94c1b0fde6cac96f64e52b6c120d688a8de1c2f /community/gnome-terminal/fix-W_EXITCODE.patch | |
parent | f136770973b9db434c69ff66a0231e894f78f441 (diff) | |
download | aports-7d8a4effcef170250573f0b74393d4c4633652cf.tar.bz2 aports-7d8a4effcef170250573f0b74393d4c4633652cf.tar.xz |
community/gnome-terminal: move from testing
Diffstat (limited to 'community/gnome-terminal/fix-W_EXITCODE.patch')
-rw-r--r-- | community/gnome-terminal/fix-W_EXITCODE.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/community/gnome-terminal/fix-W_EXITCODE.patch b/community/gnome-terminal/fix-W_EXITCODE.patch new file mode 100644 index 0000000000..6eda24ae7e --- /dev/null +++ b/community/gnome-terminal/fix-W_EXITCODE.patch @@ -0,0 +1,17 @@ +Source: https://mail-archives.apache.org/mod_mbox/mesos-reviews/201610.mbox/%3C20161014170728.1720.54446@reviews.apache.org%3E +Upstream: No +Reason: fixes compilation with musl that doesn't define W* macros. + +--- a/src/terminal.c ++++ b/src/terminal.c +@@ -47,6 +47,10 @@ + GS_DEFINE_CLEANUP_FUNCTION0(TerminalOptions*, gs_local_options_free, terminal_options_free) + #define gs_free_options __attribute__ ((cleanup(gs_local_options_free))) + ++#ifndef W_EXITCODE ++#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) ++#endif ++ + /* Wait-for-exit helper */ + + typedef struct { |