summaryrefslogtreecommitdiff
path: root/x11/xorg-libs/patches/patch-bj
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xorg-libs/patches/patch-bj')
-rw-r--r--x11/xorg-libs/patches/patch-bj85
1 files changed, 0 insertions, 85 deletions
diff --git a/x11/xorg-libs/patches/patch-bj b/x11/xorg-libs/patches/patch-bj
deleted file mode 100644
index 0a8d1da6940..00000000000
--- a/x11/xorg-libs/patches/patch-bj
+++ /dev/null
@@ -1,85 +0,0 @@
-$NetBSD: patch-bj,v 1.1 2005/05/23 19:14:15 xtraeme Exp $
-
---- /dev/null 2004-08-06 12:14:07.000000000 -0500
-+++ programs/Xserver/hw/xfree86/os-support/bsd/bsd_mouse.c 2004-08-06 12:17:27.000000000 -0500
-@@ -68,7 +68,7 @@
- static void usbSigioReadInput (int fd, void *closure);
- #endif
-
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
- /* These are for FreeBSD */
- #define DEFAULT_MOUSE_DEV "/dev/mouse"
- #define DEFAULT_SYSMOUSE_DEV "/dev/sysmouse"
-@@ -97,7 +97,7 @@
- {
- #if defined(__NetBSD__)
- return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO;
--#elif defined(__FreeBSD__)
-+#elif defined(__FreeBSD__) || defined(__DragonFly__)
- return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO | MSE_MISC;
- #else
- return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_XPS2 | MSE_AUTO;
-@@ -120,7 +120,7 @@
- * main "mouse" driver.
- */
- static const char *miscNames[] = {
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
- "SysMouse",
- #endif
- NULL
-@@ -149,7 +149,7 @@
- static const char *
- DefaultProtocol(void)
- {
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
- return "Auto";
- #elif defined(__OpenBSD__) && defined(WSCONS_SUPPORT)
- return "WSMouse";
-@@ -158,7 +158,7 @@
- #endif
- }
-
--#if defined(__FreeBSD__) && defined(MOUSE_PROTO_SYSMOUSE)
-+#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(MOUSE_PROTO_SYSMOUSE)
- static struct {
- int dproto;
- const char *name;
-@@ -227,7 +227,7 @@
- mode.rate = rate > 0 ? rate : -1;
- mode.resolution = res > 0 ? res : -1;
- mode.accelfactor = -1;
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
- if (pMse->autoProbe ||
- (protocol && xf86NameCmp(protocol, "SysMouse") == 0)) {
- /*
-@@ -245,7 +245,7 @@
- }
- #endif
-
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
-
- #define MOUSED_PID_FILE "/var/run/moused.pid"
-
-@@ -767,7 +767,7 @@
- p->BuiltinNames = BuiltinNames;
- p->DefaultProtocol = DefaultProtocol;
- p->CheckProtocol = CheckProtocol;
--#if defined(__FreeBSD__) && defined(MOUSE_PROTO_SYSMOUSE)
-+#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(MOUSE_PROTO_SYSMOUSE)
- p->SetupAuto = SetupAuto;
- p->SetPS2Res = SetSysMouseRes;
- p->SetBMRes = SetSysMouseRes;
-@@ -777,7 +777,7 @@
- p->SetupAuto = SetupAuto;
- p->SetMiscRes = SetMouseRes;
- #endif
--#if defined(__FreeBSD__) || defined(__OpenBSD__)
-+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
- p->FindDevice = FindDevice;
- #endif
- p->PreInit = bsdMousePreInit;