summaryrefslogtreecommitdiffstats
path: root/source/a/gpm/gpm-1.20.1-consolename.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/gpm/gpm-1.20.1-consolename.patch')
-rw-r--r--source/a/gpm/gpm-1.20.1-consolename.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/a/gpm/gpm-1.20.1-consolename.patch b/source/a/gpm/gpm-1.20.1-consolename.patch
new file mode 100644
index 000000000..c5879fb41
--- /dev/null
+++ b/source/a/gpm/gpm-1.20.1-consolename.patch
@@ -0,0 +1,18 @@
+--- gpm-1.20.1/src/lib/liblow.c.orig 2004-10-13 16:34:15.181502369 -0400
++++ gpm-1.20.1/src/lib/liblow.c 2004-10-13 16:34:20.491778415 -0400
+@@ -262,13 +262,14 @@
+ gpm_report(GPM_PR_ERR,"consolename not set");
+ goto err;
+ }
++#if 0
+ /* do we really need this check ? */
+ if(strncmp(tty,consolename,strlen(consolename)-1)
+ || !isdigit(tty[strlen(consolename)-1])) {
+ gpm_report(GPM_PR_ERR,"strncmp/isdigit/consolename failed");
+ goto err;
+ }
+-
++#endif
+ conn->vc=atoi(&tty[strlen(consolename)-1]);
+ }
+