Date: Tue, 3 Jan 2017 12:00:38 +0000 (UTC) From: Ben Woods <woodsb02@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430457 - in head/x11/lightdm: . files Message-ID: <201701031200.v03C0cCJ063614@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: woodsb02 Date: Tue Jan 3 12:00:38 2017 New Revision: 430457 URL: https://svnweb.freebsd.org/changeset/ports/430457 Log: x11/lightdm: Correct off-by-one error when relating vtN to /dev/ttyvN - lightdm will now correctly report vt9 as using /dev/ttyv8 Modified: head/x11/lightdm/Makefile head/x11/lightdm/files/patch-src_x-server.c Modified: head/x11/lightdm/Makefile ============================================================================== --- head/x11/lightdm/Makefile Tue Jan 3 11:54:30 2017 (r430456) +++ head/x11/lightdm/Makefile Tue Jan 3 12:00:38 2017 (r430457) @@ -3,6 +3,7 @@ PORTNAME= lightdm PORTVERSION= 1.20.0 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/ Modified: head/x11/lightdm/files/patch-src_x-server.c ============================================================================== --- head/x11/lightdm/files/patch-src_x-server.c Tue Jan 3 11:54:30 2017 (r430456) +++ head/x11/lightdm/files/patch-src_x-server.c Tue Jan 3 12:00:38 2017 (r430457) @@ -5,7 +5,7 @@ gchar *t; - t = g_strdup_printf ("/dev/tty%d", vt); -+ t = g_strdup_printf ("/dev/ttyv%d", vt); ++ t = g_strdup_printf ("/dev/ttyv%d", vt-1); session_set_tty (session, t); g_free (t);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701031200.v03C0cCJ063614>