diff -ru gpm-1.20.1/contrib/Makefile gpm-1.20.1-patched/contrib/Makefile --- gpm-1.20.1/contrib/Makefile 2002-12-25 09:57:16.000000000 +1100 +++ gpm-1.20.1-patched/contrib/Makefile 2005-12-05 14:16:55.000000000 +1100 @@ -5,7 +5,7 @@ # -srcdir = /home/user/nico/computer/sources/linux/gpm/cvstree/contrib +srcdir = /var/abs/daemons/gpm/src/gpm-1.20.1/contrib top_builddir = .. include $(top_builddir)/Makefile.include diff -ru gpm-1.20.1/doc/Makefile.in gpm-1.20.1-patched/doc/Makefile.in --- gpm-1.20.1/doc/Makefile.in 2002-12-25 09:57:16.000000000 +1100 +++ gpm-1.20.1-patched/doc/Makefile.in 2005-12-05 14:16:55.000000000 +1100 @@ -44,11 +44,11 @@ # PS (dvips) %.ps: %.dvi - if [ $(DVIPS) != "no" ]; then $(DVIPS) -f $< > $@; fi +# if [ $(DVIPS) != "no" ]; then $(DVIPS) -f $< > $@; fi # INFO (makeinfo) %.info: %.texinfo - if [ "$(MAKEINFO)" != "no" ]; then $(MAKEINFO) $< -o $@; fi +# if [ "$(MAKEINFO)" != "no" ]; then $(MAKEINFO) $< -o $@; fi # TXT (-) %.txt: %.info diff -ru gpm-1.20.1/src/lib/liblow.c gpm-1.20.1-patched/src/lib/liblow.c --- gpm-1.20.1/src/lib/liblow.c 2002-12-25 09:57:16.000000000 +1100 +++ gpm-1.20.1-patched/src/lib/liblow.c 2005-12-05 14:17:07.000000000 +1100 @@ -199,9 +199,8 @@ Gpm_Stst *new = NULL; char* sock_name = 0; - option.consolename = NULL; - - gpm_report(GPM_PR_DEBUG,"VC: %d",flag); + if (!checked_con) + option.consolename = NULL; /*....................................... First of all, check xterm */ @@ -257,13 +256,14 @@ gpm_report(GPM_PR_ERR,"checking tty name failed"); goto err; } +#if 0 /* 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; } - +#endif conn->vc=atoi(&tty[strlen(option.consolename)-1]); }