mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Add patch to fix konsole crashes. Has been submitted to the KDE team.
PR: 22555 Submitted by: nsayer
This commit is contained in:
parent
9ea7b64e0f
commit
a5f9327eda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34686
11
x11/kde4-baseapps/files/patch-TEPty.C
Normal file
11
x11/kde4-baseapps/files/patch-TEPty.C
Normal file
@ -0,0 +1,11 @@
|
||||
--- konsole/src/TEPty.C Tue Oct 3 14:57:30 2000
|
||||
+++ konsole/src/TEPty.C.new Thu Nov 2 17:51:30 2000
|
||||
@@ -225,7 +225,7 @@
|
||||
#ifdef HAVE_UTEMPTER
|
||||
removeLineFromUtmp(ttynam, fd);
|
||||
#elif defined(USE_LOGIN)
|
||||
- char *tty_name=ttyname(0);
|
||||
+ char *tty_name=ttyname(fd);
|
||||
if (tty_name)
|
||||
logout(tty_name);
|
||||
#endif
|
11
x11/kde4-runtime/files/patch-TEPty.C
Normal file
11
x11/kde4-runtime/files/patch-TEPty.C
Normal file
@ -0,0 +1,11 @@
|
||||
--- konsole/src/TEPty.C Tue Oct 3 14:57:30 2000
|
||||
+++ konsole/src/TEPty.C.new Thu Nov 2 17:51:30 2000
|
||||
@@ -225,7 +225,7 @@
|
||||
#ifdef HAVE_UTEMPTER
|
||||
removeLineFromUtmp(ttynam, fd);
|
||||
#elif defined(USE_LOGIN)
|
||||
- char *tty_name=ttyname(0);
|
||||
+ char *tty_name=ttyname(fd);
|
||||
if (tty_name)
|
||||
logout(tty_name);
|
||||
#endif
|
11
x11/kde4-workspace/files/patch-TEPty.C
Normal file
11
x11/kde4-workspace/files/patch-TEPty.C
Normal file
@ -0,0 +1,11 @@
|
||||
--- konsole/src/TEPty.C Tue Oct 3 14:57:30 2000
|
||||
+++ konsole/src/TEPty.C.new Thu Nov 2 17:51:30 2000
|
||||
@@ -225,7 +225,7 @@
|
||||
#ifdef HAVE_UTEMPTER
|
||||
removeLineFromUtmp(ttynam, fd);
|
||||
#elif defined(USE_LOGIN)
|
||||
- char *tty_name=ttyname(0);
|
||||
+ char *tty_name=ttyname(fd);
|
||||
if (tty_name)
|
||||
logout(tty_name);
|
||||
#endif
|
11
x11/kdebase2/files/patch-TEPty.C
Normal file
11
x11/kdebase2/files/patch-TEPty.C
Normal file
@ -0,0 +1,11 @@
|
||||
--- konsole/src/TEPty.C Tue Oct 3 14:57:30 2000
|
||||
+++ konsole/src/TEPty.C.new Thu Nov 2 17:51:30 2000
|
||||
@@ -225,7 +225,7 @@
|
||||
#ifdef HAVE_UTEMPTER
|
||||
removeLineFromUtmp(ttynam, fd);
|
||||
#elif defined(USE_LOGIN)
|
||||
- char *tty_name=ttyname(0);
|
||||
+ char *tty_name=ttyname(fd);
|
||||
if (tty_name)
|
||||
logout(tty_name);
|
||||
#endif
|
11
x11/kdebase3/files/patch-TEPty.C
Normal file
11
x11/kdebase3/files/patch-TEPty.C
Normal file
@ -0,0 +1,11 @@
|
||||
--- konsole/src/TEPty.C Tue Oct 3 14:57:30 2000
|
||||
+++ konsole/src/TEPty.C.new Thu Nov 2 17:51:30 2000
|
||||
@@ -225,7 +225,7 @@
|
||||
#ifdef HAVE_UTEMPTER
|
||||
removeLineFromUtmp(ttynam, fd);
|
||||
#elif defined(USE_LOGIN)
|
||||
- char *tty_name=ttyname(0);
|
||||
+ char *tty_name=ttyname(fd);
|
||||
if (tty_name)
|
||||
logout(tty_name);
|
||||
#endif
|
11
x11/kdebase4-runtime/files/patch-TEPty.C
Normal file
11
x11/kdebase4-runtime/files/patch-TEPty.C
Normal file
@ -0,0 +1,11 @@
|
||||
--- konsole/src/TEPty.C Tue Oct 3 14:57:30 2000
|
||||
+++ konsole/src/TEPty.C.new Thu Nov 2 17:51:30 2000
|
||||
@@ -225,7 +225,7 @@
|
||||
#ifdef HAVE_UTEMPTER
|
||||
removeLineFromUtmp(ttynam, fd);
|
||||
#elif defined(USE_LOGIN)
|
||||
- char *tty_name=ttyname(0);
|
||||
+ char *tty_name=ttyname(fd);
|
||||
if (tty_name)
|
||||
logout(tty_name);
|
||||
#endif
|
11
x11/kdebase4-workspace/files/patch-TEPty.C
Normal file
11
x11/kdebase4-workspace/files/patch-TEPty.C
Normal file
@ -0,0 +1,11 @@
|
||||
--- konsole/src/TEPty.C Tue Oct 3 14:57:30 2000
|
||||
+++ konsole/src/TEPty.C.new Thu Nov 2 17:51:30 2000
|
||||
@@ -225,7 +225,7 @@
|
||||
#ifdef HAVE_UTEMPTER
|
||||
removeLineFromUtmp(ttynam, fd);
|
||||
#elif defined(USE_LOGIN)
|
||||
- char *tty_name=ttyname(0);
|
||||
+ char *tty_name=ttyname(fd);
|
||||
if (tty_name)
|
||||
logout(tty_name);
|
||||
#endif
|
11
x11/kdebase4/files/patch-TEPty.C
Normal file
11
x11/kdebase4/files/patch-TEPty.C
Normal file
@ -0,0 +1,11 @@
|
||||
--- konsole/src/TEPty.C Tue Oct 3 14:57:30 2000
|
||||
+++ konsole/src/TEPty.C.new Thu Nov 2 17:51:30 2000
|
||||
@@ -225,7 +225,7 @@
|
||||
#ifdef HAVE_UTEMPTER
|
||||
removeLineFromUtmp(ttynam, fd);
|
||||
#elif defined(USE_LOGIN)
|
||||
- char *tty_name=ttyname(0);
|
||||
+ char *tty_name=ttyname(fd);
|
||||
if (tty_name)
|
||||
logout(tty_name);
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user