freebsd-ports/x11-toolkits/gnome-pty-helper/files/patch-gnome-pty-helper_gnome-utmp.c
Koop Mast 037f81756f Turn gnome-pty-helper into a stand-alone port. Copy parts of the vte3
Makefile and the patches from the current vte3 port.

The next update of the vte3 port to 0.42.x doesn't bundle this code anymore.

Obtained from:	gnome devel repo
2016-02-08 10:38:53 +00:00

11 lines
358 B
C

--- 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)
{