pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/vte3 vte3: improve a comment in a patch, and note ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efcf48b797a8
branches:  trunk
changeset: 384786:efcf48b797a8
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sun Sep 04 19:26:10 2022 +0000

description:
vte3: improve a comment in a patch, and note upstream ticket

diffstat:

 x11/vte3/distinfo                 |  4 ++--
 x11/vte3/patches/patch-src_pty.cc |  9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r 2a60c00764fb -r efcf48b797a8 x11/vte3/distinfo
--- a/x11/vte3/distinfo Sun Sep 04 19:16:13 2022 +0000
+++ b/x11/vte3/distinfo Sun Sep 04 19:26:10 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2022/09/01 01:17:27 gutteridge Exp $
+$NetBSD: distinfo,v 1.22 2022/09/04 19:26:10 gutteridge Exp $
 
 BLAKE2s (vte-0.68.0.tar.gz) = 1583ddbed30f848687a1ce02df9d03ce89a5b905a72a9cd1d866195931acbcb1
 SHA512 (vte-0.68.0.tar.gz) = fb2260ae1363203cdccd0e0c6cafe29e5fb25947d2830a7ce1051f672fdc11c067791a8b74cb3017548e366976763fec2022e0c196ed501f46abb08876ad24d6
@@ -10,5 +10,5 @@
 SHA1 (patch-src_meson.build) = a8e159688fb36e4cfac40249e279a670c9c6cda8
 SHA1 (patch-src_mev.c) = b38dc42e02a8d5fa1e579349319f0b8c8b31dbce
 SHA1 (patch-src_missing.cc) = 807a3f6134d8dd6fd602326ce02ca6e2ed1d189d
-SHA1 (patch-src_pty.cc) = dc7bcb8056987c1d82f1b601f53d504f8766cafe
+SHA1 (patch-src_pty.cc) = abd037769075f8ad9a7258f3bb970f3ed7e317cf
 SHA1 (patch-src_widget.cc) = cbc8b715b21248996bfb7c6abe355c5f4e510539
diff -r 2a60c00764fb -r efcf48b797a8 x11/vte3/patches/patch-src_pty.cc
--- a/x11/vte3/patches/patch-src_pty.cc Sun Sep 04 19:16:13 2022 +0000
+++ b/x11/vte3/patches/patch-src_pty.cc Sun Sep 04 19:26:10 2022 +0000
@@ -1,7 +1,8 @@
-$NetBSD: patch-src_pty.cc,v 1.8 2022/09/01 01:17:27 gutteridge Exp $
+$NetBSD: patch-src_pty.cc,v 1.9 2022/09/04 19:26:10 gutteridge Exp $
 
 Use correct includes on SunOS.
 Functional fix of posix_openpt() on NetBSD.
+https://gitlab.gnome.org/GNOME/vte/-/issues/2575
 
 --- src/pty.cc.orig    2022-03-27 17:52:19.000000000 +0000
 +++ src/pty.cc
@@ -23,9 +24,9 @@
 -        bool need_cloexec = false, need_nonblocking = false;
 +#ifdef __NetBSD__
 +        /*
-+         * NetBSD's posix_openpt() will pass along flags that don't actually get applied,
-+         * so it will return an FD with only O_RDWR actually set, and we need to force the
-+         * fallbacks below.
++         * NetBSD's posix_openpt() will accept flags that don't actually get applied, so it
++         * will return an FD with only O_RDWR actually set. Unlike other BSDs, it doesn't
++         * return EINVAL when given inapplicable flags. We need to force the fallbacks below.
 +         */
 +        bool need_cloexec = true;
 +        bool need_nonblocking = true;



Home | Main Index | Thread Index | Old Index