summaryrefslogtreecommitdiff
path: root/x11-toolkits/vte/files/patch-src_pty.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-03-19 05:14:07 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-03-19 05:14:07 +0000
commit951c257ea3655de6e80c26a36c18c69ee8047ea8 (patch)
tree249b59a23d9c6fae8db5e5639385f6273d237705 /x11-toolkits/vte/files/patch-src_pty.c
parent- Update to 0.4 preview 1 (diff)
Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOME
releases in that it focuses more on stability and functionality than on new features. Not that it doesn't have its share of new and exciting items. See http://www.gnome.org/start/2.18/ for all the goodies in this release. GNOME 2.18 for FreeBSD would not have been possible without the hard work of the FreeBSD GNOME Team and our intrepid band of testers including J. W. Ballantine, Pawel Worach, Yasuda Keisuke, Pascal Hofstee, miwi, Yoshihiro Ota, Vladimir Grebenschikov, Jukka A. Ukkonen, Phillip Neumann, Franz Klammer, and Neal Delmonico.
Notes
Notes: svn path=/head/; revision=187702
Diffstat (limited to 'x11-toolkits/vte/files/patch-src_pty.c')
-rw-r--r--x11-toolkits/vte/files/patch-src_pty.c27
1 files changed, 9 insertions, 18 deletions
diff --git a/x11-toolkits/vte/files/patch-src_pty.c b/x11-toolkits/vte/files/patch-src_pty.c
index a31b1192bc2a..da0f42b81a3c 100644
--- a/x11-toolkits/vte/files/patch-src_pty.c
+++ b/x11-toolkits/vte/files/patch-src_pty.c
@@ -1,19 +1,10 @@
---- src/pty.c.orig Tue Jun 3 15:54:15 2003
-+++ src/pty.c Wed Apr 7 02:55:57 2004
-@@ -45,6 +45,7 @@
- #include "pty.h"
+--- src/pty.c.orig Tue Feb 13 16:24:15 2007
++++ src/pty.c Tue Feb 13 16:29:15 2007
+@@ -271,6 +271,7 @@ _vte_pty_run_on_pty (struct vte_pty_chil
+ GPid *pid, GError **error)
+ {
+ gboolean ret = TRUE;
++ extern char **environ;
+ GError *local_error = NULL;
- #ifdef VTE_USE_GNOME_PTY_HELPER
-+#include "../gnome-pty-helper/config.h"
- #include "../gnome-pty-helper/gnome-pty.h"
- #endif
-
-@@ -709,6 +710,8 @@
- #ifdef HAVE_GETPT
- /* Call the system's function for allocating a pty. */
- fd = getpt();
-+#elif defined(HAVE_POSIX_OPENPT)
-+ fd = posix_openpt(O_RDWR | O_NOCTTY);
- #else
- /* Try to allocate a pty by accessing the pty master multiplex. */
- fd = open("/dev/ptmx", O_RDWR | O_NOCTTY);
+ if (command != NULL) {