head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.54 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.52 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.50 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.48 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.46 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.44 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.42 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.40 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.38 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.36 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.34 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.32 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.30 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.28 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.26 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.24 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.22 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.20 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.18 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.16 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.14 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.12 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.10 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.8 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.4 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.6 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.2 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.4.0.116 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.114 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.112 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.110 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.108 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.106 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.104 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.102 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.98 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.96 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.94 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.92 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.90 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.88 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.86 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.84 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.82 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.80 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.78 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.76 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.74 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.72 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.70 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.68 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.66 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.64 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.62 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.60 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.58 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.56 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.54 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.52 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.50 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.48 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.46 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.44 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.42 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.40 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.38 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.36 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.34 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.32 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.30 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.28 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.26 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.24 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.22 pkgsrc-2008Q1:1.4.0.20 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.18 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.16 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.14 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.12 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.10 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.2.0.8 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.6 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.4 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.2 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.1.0.4 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.2 pkgsrc-2004Q1-base:1.1; locks; strict; comment @# @; 1.5 date 2019.07.30.08.08.22; author nia; state Exp; branches; next 1.4; commitid nGq48QDKhndIF2xB; 1.4 date 2005.11.03.21.34.23; author rillig; state Exp; branches; next 1.3; 1.3 date 2005.07.01.12.34.33; author adam; state Exp; branches; next 1.2; 1.2 date 2004.07.17.01.56.38; author xtraeme; state Exp; branches; next 1.1; 1.1 date 2004.01.23.08.42.14; author agc; state Exp; branches; next ; desc @@ 1.5 log @BasiliskII: Update to git snapshot 20190405 Use GTK2 instead of GTK1. Brings the package around 13 years forward. Should hopefully allow this to build again. @ text @$NetBSD: patch-ad,v 1.4 2005/11/03 21:34:23 rillig Exp $ NetBSD does not have this pts ioctl. --- src/Unix/sshpty.c.orig 2019-04-05 05:12:49.000000000 +0000 +++ src/Unix/sshpty.c @@@@ -182,7 +182,7 @@@@ pty_allocate(int *ptyfd, int *ttyfd, cha close(*ptyfd); return 0; } -#ifndef HAVE_CYGWIN +#if !defined(HAVE_CYGWIN) && !defined(__NetBSD__) /* * Push the appropriate streams modules, as described in Solaris pts(7). * HP-UX pts(7) doesn't have ttcompat module. @ 1.4 log @Fixed wrong use of WRKSRC. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2005/07/01 12:34:33 adam Exp $ d3 3 a5 1 --- src/Unix/sshpty.c.orig 2003-08-17 10:20:22.000000000 +0000 d7 1 a7 41 @@@@ -18,6 +18,7 @@@@ RCSID("$OpenBSD: sshpty.c,v 1.4 2001/12/ /* Selections from openssh's "includes.h" */ #include "config.h" +#include #include #include #include @@@@ -145,19 +146,30 @@@@ pty_allocate(int *ptyfd, int *ttyfd, cha */ int ptm; char *pts; +#ifdef __sunos__ mysig_t old_signal; - +#else + sig_t old_signal; +#endif ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY); if (ptm < 0) { error("/dev/ptmx: %.100s", strerror(errno)); return 0; } +#ifdef __sunos__ old_signal = mysignal(SIGCHLD, SIG_DFL); +#else + old_signal = signal(SIGCHLD, SIG_DFL); +#endif if (grantpt(ptm) < 0) { error("grantpt: %.100s", strerror(errno)); return 0; } +#ifdef __sunos__ mysignal(SIGCHLD, old_signal); +#else + signal(SIGCHLD, old_signal); +#endif if (unlockpt(ptm) < 0) { error("unlockpt: %.100s", strerror(errno)); return 0; @@@@ -175,7 +187,7 @@@@ pty_allocate(int *ptyfd, int *ttyfd, cha d12 1 a12 1 +#if !defined(__NetBSD__) a15 27 @@@@ -184,7 +196,7 @@@@ pty_allocate(int *ptyfd, int *ttyfd, cha error("ioctl I_PUSH ptem: %.100s", strerror(errno)); if (ioctl(*ttyfd, I_PUSH, "ldterm") < 0) error("ioctl I_PUSH ldterm: %.100s", strerror(errno)); -#ifndef __hpux +#if !defined(__NetBSD__) if (ioctl(*ttyfd, I_PUSH, "ttcompat") < 0) error("ioctl I_PUSH ttcompat: %.100s", strerror(errno)); #endif @@@@ -277,7 +289,7 @@@@ pty_allocate(int *ptyfd, int *ttyfd, cha } /* set tty modes to a sane state for broken clients */ if (tcgetattr(*ptyfd, &tio) < 0) - log("Getting tty modes for pty failed: %.100s", strerror(errno)); + error("Getting tty modes for pty failed: %.100s", strerror(errno)); else { tio.c_lflag |= (ECHO | ISIG | ICANON); tio.c_oflag |= (OPOST | ONLCR); @@@@ -285,7 +297,7 @@@@ pty_allocate(int *ptyfd, int *ttyfd, cha /* Set the new modes for the terminal. */ if (tcsetattr(*ptyfd, TCSANOW, &tio) < 0) - log("Setting tty modes for pty failed: %.100s", strerror(errno)); + error("Setting tty modes for pty failed: %.100s", strerror(errno)); } return 1; @ 1.3 log @Changes 20050322: - fixed the problem with Ticks getting incremented on every interrupt, not just 60Hz (e.g. moving the mouse made the caret blink faster) - Unix: integrated JIT compiler for Linux/x86 and FreeBSD/x86 - Unix: moved minimum autoconf support to 2.52+ - Unix: add large file support for 2+ GB hard disk images - Unix: cleaned up pthread attributes [Brian Johnson] - Unix: fixed floppy problems under Linux - Unix: implemented "ignoresegv" feature on Linux/x86, Linux/ppc, Darwin/ppc - Unix: serial port baud rates are now set correctly - Unix: it is now possible to make the serial drivers pipe their input/output to programs by using a '|' followed by a command line as the modem or printer port setting (instead of a device name like '/dev/ttyS0') - Unix: the option "--config FILE" tells B2 to use a different config file - Unix: new prefs options "dsp" and "mixer" to set the OSS device names instead of the hardcoded '/dev/dsp' and '/dev/mixer' - Unix: new ether prefs option 'tun' to use a TUN/TAP interface. The configure script used can be overriden with "etherconfig" - Unix: SDL audio and video output are now available in option - Unix: port JIT compiler to Linux/x86_64 (AMD64 and EM64T platforms) - Unix: sheep_net driver ported to kernel 2.6 (patches from Mac-On-Linux) - Unix: fix network code to work correctly on 64-bit platforms - Unix: implement X11 to MacOS exchange of text through the clipboard - Windows: a new port derived from Lauri's work is now available @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- sshpty.c.orig 2003-08-17 10:20:22.000000000 +0000 +++ sshpty.c @ 1.2 log @Make this build on NetBSD -current with /dev/ptmx, closes PR pkg/25854. @ text @d3 3 a5 3 --- sshpty.c.orig 2003-03-14 20:17:27.000000000 +0100 +++ sshpty.c 2004-07-17 03:54:38.000000000 +0200 @@@@ -18,6 +18,7 @@@@ d13 1 a13 1 @@@@ -144,19 +145,30 @@@@ d45 1 a45 1 @@@@ -174,7 +186,7 @@@@ d54 1 a54 1 @@@@ -183,7 +195,7 @@@@ d63 1 a63 1 @@@@ -276,7 +288,7 @@@@ d72 1 a72 1 @@@@ -284,7 +296,7 @@@@ @ 1.1 log @Make this compile with gcc3. @ text @d3 61 a63 3 --- sshpty.c 2004/01/23 07:41:29 1.1 +++ sshpty.c 2004/01/23 07:52:50 @@@@ -276,7 +276,7 @@@@ d72 1 a72 1 @@@@ -284,7 +284,7 @@@@ @