diff options
Diffstat (limited to 'x11-servers/XFree86-4-Server/files/patch-xf86config.c')
-rw-r--r-- | x11-servers/XFree86-4-Server/files/patch-xf86config.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-Server/files/patch-xf86config.c b/x11-servers/XFree86-4-Server/files/patch-xf86config.c new file mode 100644 index 000000000000..bb986f1b782a --- /dev/null +++ b/x11-servers/XFree86-4-Server/files/patch-xf86config.c @@ -0,0 +1,37 @@ +--- programs/Xserver/hw/xfree86/xf86config/xf86config.c.orig Sat Oct 27 20:34:09 2001 ++++ programs/Xserver/hw/xfree86/xf86config/xf86config.c Sat Jun 8 11:35:18 2002 +@@ -382,7 +382,7 @@ + + static char *mousetype_name[] = { + "Microsoft compatible (2-button protocol)", +- "Mouse Systems (3-button protocol)", ++ "Mouse Systems (3-button protocol) & FreeBSD moused protocol", + "Bus Mouse", + "PS/2 Mouse", + "Logitech Mouse (serial, old type, Logitech protocol)", +@@ -401,6 +401,9 @@ + #ifdef WSCONS_SUPPORT + "On systems with wscons, the default is /dev/wsmouse.\n" + #endif ++#ifdef __FreeBSD__ ++"On FreeBSD, the default is /dev/sysmouse.\n" ++#endif + "\n"; + + static char *mousecomment_text = +@@ -544,10 +547,12 @@ + printf("Mouse device: "); + getstring(s); + if (strlen(s) == 0) +-#ifndef WSCONS_SUPPORT +- config_pointerdevice = "/dev/mouse"; +-#else ++#ifdef WSCONS_SUPPORT + config_pointerdevice = "/dev/wsmouse"; ++#elif defined(__FreeBSD__) ++ config_pointerdevice = "/dev/sysmouse"; ++#else ++ config_pointerdevice = "/dev/mouse"; + #endif + else { + config_pointerdevice = Malloc(strlen(s) + 1); |