From 5c7805c7099dc690bd2a77c67a582d38cff9f753 Mon Sep 17 00:00:00 2001
From: Tobias Hintze
Date: Mon, 27 Mar 2006 09:08:32 +0000
Subject: [PATCH] Tobias Hintze | : this patch stops gpm
from bitching in konsole/xterm (problem can be found when using w3m
in Konsole) (the failing comparison was "/dev/pts/X != /dev/vc/0")
Index: package/base/gpm/liblow-silent-2.patch
===================================================================
[2006032501155109669] (https://www.rocklinux.net/submaster)
git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7359 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
---
package/base/gpm/liblow-silent-2.patch | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 package/base/gpm/liblow-silent-2.patch
diff --git a/package/base/gpm/liblow-silent-2.patch b/package/base/gpm/liblow-silent-2.patch
new file mode 100644
index 000000000..7ea9f9f73
--- /dev/null
+++ b/package/base/gpm/liblow-silent-2.patch
@@ -0,0 +1,14 @@
+Tobias Hintze | :
+ this patch stops gpm from bitching in konsole/xterm
+
+diff -Naur gpm-1.20.1-orig/src/lib/liblow.c gpm-1.20.1/src/lib/liblow.c
+--- gpm-1.20.1-orig/src/lib/liblow.c 2002-12-24 23:57:16.000000000 +0100
++++ gpm-1.20.1/src/lib/liblow.c 2006-03-25 01:10:45.491690168 +0100
+@@ -260,7 +260,6 @@
+ /* do we really need this check ? */
+ if(strncmp(tty,option.consolename,strlen(option.consolename)-1)
+ || !isdigit(tty[strlen(option.consolename)-1])) {
+- gpm_report(GPM_PR_ERR,"strncmp/isdigit/option.consolename failed");
+ goto err;
+ }
+
|