summaryrefslogtreecommitdiff
path: root/user/vte/exitcode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/vte/exitcode.patch')
-rw-r--r--user/vte/exitcode.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/vte/exitcode.patch b/user/vte/exitcode.patch
new file mode 100644
index 000000000..52de63858
--- /dev/null
+++ b/user/vte/exitcode.patch
@@ -0,0 +1,12 @@
+--- vte-0.54.0/src/widget.cc.old 2018-09-02 13:20:15.000000000 +0000
++++ vte-0.54.0/src/widget.cc 2018-09-08 21:20:16.000000000 +0000
+@@ -21,6 +21,9 @@
+ #include "widget.hh"
+
+ #include <sys/wait.h> // for W_EXITCODE
++#ifndef W_EXITCODE
++# define W_EXITCODE(ret, sig) ((unsigned int)(ret) << 8 | sig)
++#endif
+
+ #include <new>
+ #include <string>