ports/x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-xf86_OSlib.h
Jung-uk Kim d25360c7a5 - Auto-detect and use native extended PS/2 protocols with the latest psm(4).
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
2008-04-15 18:01:15 +00:00

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>