xterm: update to 393.

This commit is contained in:
Andrew Benson 2024-08-08 13:57:32 -05:00
parent 3354f8b60d
commit ceb5fe1f01
2 changed files with 2 additions and 12 deletions

View File

@ -9,13 +9,3 @@
if ((*pty = posix_openpt(O_RDWR)) >= 0) {
char *name = ptsname(*pty);
if (name != 0) {
@@ -3735,7 +3735,7 @@ spawnXTerm(XtermWidget xw)
/*
* now in child process
*/
-#if defined(_POSIX_SOURCE) || defined(SVR4) || defined(__convex__) || defined(__SCO__) || defined(__QNX__)
+#if defined(_POSIX_VERSION) || defined(SVR4) || defined(__convex__) || defined(__SCO__) || defined(__QNX__)
int pgrp = setsid(); /* variable may not be used... */
#else
int pgrp = getpid();

View File

@ -1,6 +1,6 @@
# Template file for 'xterm'
pkgname=xterm
version=382
version=393
revision=1
build_style=gnu-configure
configure_args="--enable-wide-chars --enable-88-color --enable-broken-osc
@ -20,7 +20,7 @@ license="MIT, X11"
homepage="https://invisible-island.net/xterm/"
changelog="https://invisible-island.net/xterm/xterm.log.html"
distfiles="https://invisible-mirror.net/archives/xterm/xterm-${version}.tgz"
checksum=0cd0bcf3d0aa746a840ea3f1366ea29a74263694d535b5c777f27eb65d7fceed
checksum=dc3abf533d66ae3db49e6783b0e1e29f0e4d045b4b3dac797a5e93be2735ec7b
CFLAGS="-D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700"