Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 01:33:33 +0900 (JST)
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        Frederic Hardy <f.hardy@hexanet.fr>
Cc:        nork@FreeBSD.org
Subject:   Re: TEST PLEASE: Synaptics Touchpad on 4-stable
Message-ID:  <200407291633.i6TGXXl0037323@sakura.ninth-nine.com>
In-Reply-To: <4108A76C.4070603@hexanet.fr>
References:  <20040729023208.51e1cd3b.nork@FreeBSD.org> <4108A76C.4070603@hexanet.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thu, 29 Jul 2004 09:29:48 +0200
Frederic Hardy <f.hardy@hexanet.fr> wrote:
> synaptics.c:55: sys/mouse.h: No such file or directory
> In file included from synaptics.c:80:
> synaptics.h:25: sys/mouse.h: No such file or directory
> gmake: *** [synaptics.o] Erreur 1
> *** Error code 2
> :-(

	Oops, please add attached patch.

[-- Attachment #2 --]
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	synaptics/files/patch-fps2comm.c
#	synaptics/files/patch-synaptics.c
#	synaptics/files/patch-synaptics.h
#
echo x - synaptics/files/patch-fps2comm.c
sed 's/^X//' >synaptics/files/patch-fps2comm.c << 'END-of-synaptics/files/patch-fps2comm.c'
X--- fps2comm.c.orig	Fri Jul 30 01:05:09 2004
X+++ fps2comm.c	Fri Jul 30 01:14:40 2004
X@@ -28,7 +28,12 @@
X  *
X  */
X 
X+#include <sys/param.h>
X+#if __FreeBSD_version >= 500000
X #include <sys/mouse.h>
X+#else
X+#include <machine/mouse.h>
X+#endif
X 
X #include "xf86_OSproc.h"
X #include "fps2comm.h"
END-of-synaptics/files/patch-fps2comm.c
echo x - synaptics/files/patch-synaptics.c
sed 's/^X//' >synaptics/files/patch-synaptics.c << 'END-of-synaptics/files/patch-synaptics.c'
X--- synaptics.c.orig	Fri Jul 30 01:05:09 2004
X+++ synaptics.c	Fri Jul 30 01:13:12 2004
X@@ -52,7 +52,12 @@
X  */
X 
X #ifdef __FreeBSD__
X+#include <sys/param.h>
X+#if __FreeBSD_version >= 500000 
X #include <sys/mouse.h>
X+#else
X+#include <machine/mouse.h>
X+#endif
X #endif
X 
X /*****************************************************************************
END-of-synaptics/files/patch-synaptics.c
echo x - synaptics/files/patch-synaptics.h
sed 's/^X//' >synaptics/files/patch-synaptics.h << 'END-of-synaptics/files/patch-synaptics.h'
X--- synaptics.h.orig	Fri Jul 30 01:05:09 2004
X+++ synaptics.h	Fri Jul 30 01:13:59 2004
X@@ -22,7 +22,12 @@
X /* This may not be the best way, but it works :) */
X   
X #ifdef __FreeBSD__
X+#include <sys/param.h>
X+#if __FreeBSD_version >= 500000
X #include <sys/mouse.h>
X+#else
X+#include <machine/mouse.h>
X+#endif
X #else
X typedef struct synapticshw {
X     unsigned long int model_id;		    /* Model-ID */
END-of-synaptics/files/patch-synaptics.h
exit


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407291633.i6TGXXl0037323>