summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-11-02 22:54:02 +0000
committerwill <will@FreeBSD.org>2000-11-02 22:54:02 +0000
commitd0e19eedf33e346dd974644cea54cf96ab2569c8 (patch)
treeba175bea6874ed1ff13da6f048d142adc56d5b50 /x11
parent35d02e4297630d3c767040c0c0224f58672e6729 (diff)
downloadFreeBSD-ports-d0e19eedf33e346dd974644cea54cf96ab2569c8.zip
FreeBSD-ports-d0e19eedf33e346dd974644cea54cf96ab2569c8.tar.gz
Add patch to fix konsole crashes. Has been submitted to the KDE team.
PR: 22555 Submitted by: nsayer
Diffstat (limited to 'x11')
-rw-r--r--x11/kde4-baseapps/files/patch-TEPty.C11
-rw-r--r--x11/kde4-runtime/files/patch-TEPty.C11
-rw-r--r--x11/kde4-workspace/files/patch-TEPty.C11
-rw-r--r--x11/kdebase2/files/patch-TEPty.C11
-rw-r--r--x11/kdebase3/files/patch-TEPty.C11
-rw-r--r--x11/kdebase4-runtime/files/patch-TEPty.C11
-rw-r--r--x11/kdebase4-workspace/files/patch-TEPty.C11
-rw-r--r--x11/kdebase4/files/patch-TEPty.C11
8 files changed, 88 insertions, 0 deletions
diff --git a/x11/kde4-baseapps/files/patch-TEPty.C b/x11/kde4-baseapps/files/patch-TEPty.C
new file mode 100644
index 0000000..9a5ece3
--- /dev/null
+++ b/x11/kde4-baseapps/files/patch-TEPty.C
@@ -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
diff --git a/x11/kde4-runtime/files/patch-TEPty.C b/x11/kde4-runtime/files/patch-TEPty.C
new file mode 100644
index 0000000..9a5ece3
--- /dev/null
+++ b/x11/kde4-runtime/files/patch-TEPty.C
@@ -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
diff --git a/x11/kde4-workspace/files/patch-TEPty.C b/x11/kde4-workspace/files/patch-TEPty.C
new file mode 100644
index 0000000..9a5ece3
--- /dev/null
+++ b/x11/kde4-workspace/files/patch-TEPty.C
@@ -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
diff --git a/x11/kdebase2/files/patch-TEPty.C b/x11/kdebase2/files/patch-TEPty.C
new file mode 100644
index 0000000..9a5ece3
--- /dev/null
+++ b/x11/kdebase2/files/patch-TEPty.C
@@ -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
diff --git a/x11/kdebase3/files/patch-TEPty.C b/x11/kdebase3/files/patch-TEPty.C
new file mode 100644
index 0000000..9a5ece3
--- /dev/null
+++ b/x11/kdebase3/files/patch-TEPty.C
@@ -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
diff --git a/x11/kdebase4-runtime/files/patch-TEPty.C b/x11/kdebase4-runtime/files/patch-TEPty.C
new file mode 100644
index 0000000..9a5ece3
--- /dev/null
+++ b/x11/kdebase4-runtime/files/patch-TEPty.C
@@ -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
diff --git a/x11/kdebase4-workspace/files/patch-TEPty.C b/x11/kdebase4-workspace/files/patch-TEPty.C
new file mode 100644
index 0000000..9a5ece3
--- /dev/null
+++ b/x11/kdebase4-workspace/files/patch-TEPty.C
@@ -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
diff --git a/x11/kdebase4/files/patch-TEPty.C b/x11/kdebase4/files/patch-TEPty.C
new file mode 100644
index 0000000..9a5ece3
--- /dev/null
+++ b/x11/kdebase4/files/patch-TEPty.C
@@ -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
OpenPOWER on IntegriCloud