diff options
author | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
commit | d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch) | |
tree | 684a17eebf446aa1adab1097616f1882c8d51568 /repo/vte3/fix-W_EXITCODE.patch | |
parent | d1fc3393cca72e8e432f827f7624e38734fad6dc (diff) |
added deps for qemu
Diffstat (limited to 'repo/vte3/fix-W_EXITCODE.patch')
-rw-r--r-- | repo/vte3/fix-W_EXITCODE.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/vte3/fix-W_EXITCODE.patch b/repo/vte3/fix-W_EXITCODE.patch new file mode 100644 index 0000000..ae6e5e4 --- /dev/null +++ b/repo/vte3/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/widget.cc ++++ b/src/widget.cc +@@ -31,6 +31,10 @@ + #include "vteptyinternal.hh" + #include "debug.h" + ++#ifndef W_EXITCODE ++#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) ++#endif ++ + using namespace std::literals; + + namespace vte { |