aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c')
-rw-r--r--x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c b/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c
new file mode 100644
index 000000000000..fa2750ccd5ba
--- /dev/null
+++ b/x11-toolkits/vte3/files/patch-gnome-pty-helper_gnome-utmp.c
@@ -0,0 +1,11 @@
+--- gnome-pty-helper/gnome-utmp.c.orig 2012-03-24 17:30:46.000000000 -0400
++++ gnome-pty-helper/gnome-utmp.c 2012-03-24 17:30:25.000000000 -0400
+@@ -152,7 +152,7 @@ update_wtmp (char *file, UTMP *putmp)
+ #endif /* !HAVE_GETUTMPX */
+
+
+-#if defined(HAVE_GETUTMPX)
++#if defined(HAVE_GETUTMPX) || defined(HAVE_GETUTXID)
+ static void
+ update_utmp (UTMP *ut)
+ {