Date: Thu, 27 Aug 2015 12:03:28 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395414 - in head/x11/xterm: . files Message-ID: <201508271203.t7RC3SEc024452@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Aug 27 12:03:27 2015 New Revision: 395414 URL: https://svnweb.freebsd.org/changeset/ports/395414 Log: Fix utmpx registration Notified by: Christian Jachmann <Jachmann@unitix.org> Submitted by: Thomas Dickey <dickey@his.com> (author) Added: head/x11/xterm/files/ head/x11/xterm/files/patch-main.c (contents, props changed) Modified: head/x11/xterm/Makefile Modified: head/x11/xterm/Makefile ============================================================================== --- head/x11/xterm/Makefile Thu Aug 27 11:38:07 2015 (r395413) +++ head/x11/xterm/Makefile Thu Aug 27 12:03:27 2015 (r395414) @@ -3,6 +3,7 @@ PORTNAME= xterm PORTVERSION= 319 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= ftp://invisible-island.net/xterm/:src1 \ LOCAL/ehaupt:src1 LOCAL/ehaupt:src2 Added: head/x11/xterm/files/patch-main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xterm/files/patch-main.c Thu Aug 27 12:03:27 2015 (r395414) @@ -0,0 +1,11 @@ +--- main.c.orig 2015-08-27 11:22:17 UTC ++++ main.c +@@ -3679,7 +3679,7 @@ spawnXTerm(XtermWidget xw) + added_utmp_entry = False; + #if defined(USE_UTEMPTER) + #undef UTMP +- if (xw->misc.login_shell && !resource.utmpInhibit) { ++ if ((xw->misc.login_shell || !command_to_exec) && !resource.utmpInhibit) { + struct UTMP_STR dummy; + + /* Note: utempter may trim it anyway */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508271203.t7RC3SEc024452>