. incorporate an upstream patch to fix wrong read Protocol and Device

from xorg.conf: http://cgit.freedesktop.org/xorg/driver/xf86-input-mouse/commit/?id=b65651974ee5620086b484086ea12d78c92fa369
. trim makefile headers.

PR:		ports/171433
Submitted by:	Martin Birgmeier <Martin.Birgmeier@aon.at>
Approved by:	x11 (maintainer timeout 8+ weeks)
Feature safe:	yes
This commit is contained in:
Boris Samorodov
2012-11-07 08:36:25 +00:00
parent 17fd30ecfd
commit b3de4ee38f
2 changed files with 13 additions and 5 deletions
+2 -5
View File
@@ -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
@@ -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. */