mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 08:30:37 -04:00
Since psm has gained write(2) support, it can be directly driven by X.org input drivers without help of moused(8) or SysMouse protocol. - Fix regressions without moused running. PR: ports/122363, ports/122405
12 lines
532 B
C
12 lines
532 B
C
--- hw/xfree86/os-support/xf86_OSlib.h.orig 2007-08-23 15:04:53.000000000 -0400
|
|
+++ hw/xfree86/os-support/xf86_OSlib.h 2008-04-08 16:20:04.000000000 -0400
|
|
@@ -495,6 +495,9 @@
|
|
# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
|
|
# if defined(__FreeBSD_kernel_version) && (__FreeBSD_kernel_version >= 500013)
|
|
# include <sys/mouse.h>
|
|
+# if (__FreeBSD_kernel_version >= 700106)
|
|
+# define XPS2_SUPPORT
|
|
+# endif
|
|
# else
|
|
# undef MOUSE_GETINFO
|
|
# include <machine/mouse.h>
|