aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xterm/posix-ptys.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-09 15:34:15 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-03-09 15:44:03 +0100
commit05410457bdc7eb003b12e74a7f75dc08e17a7698 (patch)
tree0fe7ad926adb774ca0e15be54cb4cdbce4e3e61b /testing/xterm/posix-ptys.patch
parent1d912af8116507813e853c548f02d2e7441b0b7a (diff)
downloadaports-05410457bdc7eb003b12e74a7f75dc08e17a7698.tar.gz
aports-05410457bdc7eb003b12e74a7f75dc08e17a7698.tar.bz2
aports-05410457bdc7eb003b12e74a7f75dc08e17a7698.tar.xz
testing/xterm: ugprade to 323
Diffstat (limited to 'testing/xterm/posix-ptys.patch')
-rw-r--r--testing/xterm/posix-ptys.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/xterm/posix-ptys.patch b/testing/xterm/posix-ptys.patch
index 3e6d2160c8..596699fde2 100644
--- a/testing/xterm/posix-ptys.patch
+++ b/testing/xterm/posix-ptys.patch
@@ -1,15 +1,16 @@
---- ./main.c.orig 2015-08-19 00:25:35.000000000 +0000
-+++ ./main.c 2015-08-28 23:43:21.631378928 +0000
-@@ -2628,7 +2628,7 @@
-
- #if defined(USE_OPENPTY)
- result = openpty(pty, &opened_tty, ttydev, NULL, NULL);
+diff -upr xterm-323.orig/main.c xterm-323/main.c
+--- xterm-323.orig/main.c 2016-03-09 15:30:51.191053881 +0100
++++ xterm-323/main.c 2016-03-09 15:31:17.961635229 +0100
+@@ -2654,7 +2654,7 @@ get_pty(int *pty, char *from GCC_UNUSED)
+ close(opened_tty);
+ opened_tty = -1;
+ }
-#elif defined(HAVE_POSIX_OPENPT) && defined(HAVE_PTSNAME) && defined(HAVE_GRANTPT_PTY_ISATTY)
+#elif defined(HAVE_POSIX_OPENPT) && defined(HAVE_PTSNAME)
if ((*pty = posix_openpt(O_RDWR)) >= 0) {
char *name = ptsname(*pty);
if (name != 0) {
-@@ -3708,7 +3708,7 @@
+@@ -3735,7 +3735,7 @@ spawnXTerm(XtermWidget xw)
/*
* now in child process
*/
@@ -18,4 +19,3 @@
int pgrp = setsid(); /* variable may not be used... */
#else
int pgrp = getpid();
-