aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-input-mouse/Makefile7
-rw-r--r--x11-drivers/xf86-input-mouse/files/patch-src_mouse.c11
2 files changed, 13 insertions, 5 deletions
diff --git a/x11-drivers/xf86-input-mouse/Makefile b/x11-drivers/xf86-input-mouse/Makefile
index 8e1512a1d49e..42ee890b0afe 100644
--- a/x11-drivers/xf86-input-mouse/Makefile
+++ b/x11-drivers/xf86-input-mouse/Makefile
@@ -1,12 +1,9 @@
-# New ports collection makefile for: xf86-input-mouse
-# Date Created: 17 Feb 2006
-# Whom: Florent Thoumie <flz@FreeBSD.org>
-#
+# Created by: Florent Thoumie <flz@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= xf86-input-mouse
PORTVERSION= 1.7.1
+PORTREVISION= 1
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
diff --git a/x11-drivers/xf86-input-mouse/files/patch-src_mouse.c b/x11-drivers/xf86-input-mouse/files/patch-src_mouse.c
new file mode 100644
index 000000000000..8255608025a1
--- /dev/null
+++ b/x11-drivers/xf86-input-mouse/files/patch-src_mouse.c
@@ -0,0 +1,11 @@
+--- src/mouse.c.orig 2012-10-18 11:06:28.000000000 +0400
++++ src/mouse.c 2012-10-18 11:06:57.000000000 +0400
+@@ -872,6 +872,8 @@ MousePreInit(InputDriverPtr drv, IDevPtr
+ pInfo->private_flags = 0;
+ pInfo->always_core_feedback = NULL;
+
++ COLLECT_INPUT_OPTIONS(pInfo, NULL);
++
+ if (NewMousePreInit(drv, pInfo, flags) == Success)
+ {
+ /* Check if SendDragEvents has been disabled. */