pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gnome-terminal gnome-terminal: Provide W_EXITCODE ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0387336477c
branches:  trunk
changeset: 378920:b0387336477c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon May 09 12:26:42 2022 +0000

description:
gnome-terminal: Provide W_EXITCODE compat.

diffstat:

 x11/gnome-terminal/distinfo                     |   3 ++-
 x11/gnome-terminal/patches/patch-src_terminal.c |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 0e3088b43a17 -r b0387336477c x11/gnome-terminal/distinfo
--- a/x11/gnome-terminal/distinfo       Mon May 09 12:01:18 2022 +0000
+++ b/x11/gnome-terminal/distinfo       Mon May 09 12:26:42 2022 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.25 2021/10/26 11:33:50 nia Exp $
+$NetBSD: distinfo,v 1.26 2022/05/09 12:26:42 jperkin Exp $
 
 BLAKE2s (gnome-terminal-3.36.2.tar.xz) = a29f77bb13b2b744ca4cf09cec50c6745d08a7753d0cded64a9b8965a2fc1c87
 SHA512 (gnome-terminal-3.36.2.tar.xz) = 0d691452456dd495b812332f206b6f8a590f67d47a6afce582b2ff0587747c36cb1eaf249080c6a3c3540ef22a50628801165d6c17eeb1b821eea1e244f79a91
 Size (gnome-terminal-3.36.2.tar.xz) = 2528492 bytes
 SHA1 (patch-src_server.c) = 5ebccc438850609336295122235ae28a9bdcc1f3
 SHA1 (patch-src_terminal-util.c) = 2d70d288ccfac9b97447b6200b225213a9b14eaa
+SHA1 (patch-src_terminal.c) = de257a944b5f43c5e385e72c039365306c0d37e6
diff -r 0e3088b43a17 -r b0387336477c x11/gnome-terminal/patches/patch-src_terminal.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gnome-terminal/patches/patch-src_terminal.c   Mon May 09 12:26:42 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_terminal.c,v 1.1 2022/05/09 12:26:42 jperkin Exp $
+
+Provide W_EXITCODE compat.
+
+--- src/terminal.c.orig        2020-03-05 21:43:41.000000000 +0000
++++ src/terminal.c
+@@ -44,6 +44,10 @@
+ #include "terminal-client-utils.h"
+ #include "terminal-libgsystem.h"
+ 
++#ifndef W_EXITCODE
++#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
++#endif
++
+ GS_DEFINE_CLEANUP_FUNCTION0(TerminalOptions*, gs_local_options_free, terminal_options_free)
+ #define gs_free_options __attribute__ ((cleanup(gs_local_options_free)))
+ 



Home | Main Index | Thread Index | Old Index