pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/vte3 vte3: Fix build on OS which do not have W_EXI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/091c352fa82f
branches:  trunk
changeset: 321713:091c352fa82f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Mar 27 11:19:10 2019 +0000

description:
vte3: Fix build on OS which do not have W_EXITCODE.

diffstat:

 x11/vte3/distinfo                    |   3 ++-
 x11/vte3/patches/patch-src_widget.cc |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r b380f9fc358e -r 091c352fa82f x11/vte3/distinfo
--- a/x11/vte3/distinfo Wed Mar 27 11:18:38 2019 +0000
+++ b/x11/vte3/distinfo Wed Mar 27 11:19:10 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2019/03/07 21:36:06 jmcneill Exp $
+$NetBSD: distinfo,v 1.10 2019/03/27 11:19:10 jperkin Exp $
 
 SHA1 (vte-0.54.3.tar.xz) = ea498d334e341738ef03d4d2d2c99b8bb1c1570e
 RMD160 (vte-0.54.3.tar.xz) = 3275821836e06d134288738b3e6ecec449e80d16
@@ -9,3 +9,4 @@
 SHA1 (patch-src_pty.cc) = 4bcd447b214d59da69ea8c0bc5100cce27623f63
 SHA1 (patch-src_vte.cc) = 9886ae82daa8c4ad55ce85e2dec3216d3e46221a
 SHA1 (patch-src_vtedraw.cc) = 1deab7738ae7c7bbb53e5b951df4d8a6ad9312f9
+SHA1 (patch-src_widget.cc) = adcecb612c6a0945f13c26e3b6a89131bcab4b1f
diff -r b380f9fc358e -r 091c352fa82f x11/vte3/patches/patch-src_widget.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/vte3/patches/patch-src_widget.cc      Wed Mar 27 11:19:10 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_widget.cc,v 1.1 2019/03/27 11:19:10 jperkin Exp $
+
+Provide W_EXITCODE compat.
+
+--- src/widget.cc.orig 2018-12-10 21:32:09.000000000 +0000
++++ src/widget.cc
+@@ -22,6 +22,10 @@
+ 
+ #include <sys/wait.h> // for W_EXITCODE
+ 
++#ifndef W_EXITCODE
++#define W_EXITCODE(ret, sig)  ((ret) << 8 | (sig))
++#endif
++
+ #include <new>
+ #include <string>
+ 



Home | Main Index | Thread Index | Old Index