svn commit: r395414 - in head/x11/xterm: . files
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Aug 27 12:03:28 UTC 2015
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 at unitix.org>
Submitted by: Thomas Dickey <dickey at 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 */
More information about the svn-ports-all
mailing list