Submitted By: Agathoklis Hatzimanikas (ag at linuxfromscratch dot org) Date: 2007-12-12 Initial Package Version: 1.20.1 Origin: Fedora. Upstream Status: Reported http://lists.linux.it/pipermail/gpm/2007-July/000925.html Description: Let gpm build against 2.6.23 kernel. --- gpm-1.20.1/src/prog/gpm-root.y.openmax 2002-12-24 23:57:16.000000000 +0100 +++ gpm-1.20.1/src/prog/gpm-root.y 2007-07-24 20:45:46.000000000 +0200 @@ -525,7 +525,9 @@ open("/dev/null",O_RDONLY); /* stdin */ open(consolename,O_WRONLY); /* stdout */ dup(1); /* stderr */ - for (i=3;iarg,(char *)NULL); exit(1); /* shouldn't happen */ default: return 0; --- gpm-1.20.1/src/special.c.openmax 2007-07-24 20:45:46.000000000 +0200 +++ gpm-1.20.1/src/special.c 2007-07-24 20:45:46.000000000 +0200 @@ -156,7 +156,9 @@ open(GPM_NULL_DEV,O_RDONLY); /* stdin */ open(console.device, O_WRONLY); /* stdout */ dup(1); /* stderr */ - for (i=3;i