From: | "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-apps/xinit/files: xinit-1.3.4-startx-current-vt.patch |
Date: | Sun, 08 Feb 2015 18:26:56 |
Message-Id: | 20150208182650.C4B1B11567@oystercatcher.gentoo.org |
1 | chithanh 15/02/08 18:26:50 |
2 | |
3 | Added: xinit-1.3.4-startx-current-vt.patch |
4 | Log: |
5 | conditionally revert upstream patch that broke startx on non-systemd systems, bug #526802. |
6 | |
7 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x2324E7B566DF2611!) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-apps/xinit/files/xinit-1.3.4-startx-current-vt.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/files/xinit-1.3.4-startx-current-vt.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xinit/files/xinit-1.3.4-startx-current-vt.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: xinit-1.3.4-startx-current-vt.patch |
16 | =================================================================== |
17 | diff -ur a/startx.cpp b/startx.cpp |
18 | --- a/startx.cpp 2014-09-11 19:31:42.000000000 +0200 |
19 | +++ b/startx.cpp 2015-02-08 19:09:56.416428623 +0100 |
20 | @@ -188,17 +188,6 @@ |
21 | if [ x"$server" = x ]; then |
22 | server=$defaultserver |
23 | |
24 | -#ifdef __linux__ |
25 | - XCOMM When starting the defaultserver start X on the current tty to avoid |
26 | - XCOMM the startx session being seen as inactive: |
27 | - XCOMM "https://bugzilla.redhat.com/show_bug.cgi?id=806491" |
28 | - tty=$(tty) |
29 | - if expr match "$tty" '^/dev/tty[0-9]\+$' > /dev/null; then |
30 | - tty_num=$(echo "$tty" | grep -oE '[0-9]+$') |
31 | - vtarg="vt$tty_num" |
32 | - fi |
33 | -#endif |
34 | - |
35 | XCOMM For compatibility reasons, only use xserverrc if there were no server command line arguments |
36 | if [ x"$serverargs" = x -a x"$display" = x ]; then |
37 | if [ -f "$userserverrc" ]; then |