xf86-input-mouse: Fix header files included

This commit is contained in:
Richard Purdie 2008-11-05 00:05:09 +00:00
parent d9dfbf4e12
commit 9ffb17080f
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,19 @@
Unbreak the linux mouse driver by using config.h
RP - 4/11/07
Index: git/src/lnx_mouse.c
===================================================================
--- git.orig/src/lnx_mouse.c 2008-11-04 23:46:05.000000000 +0000
+++ git/src/lnx_mouse.c 2008-11-04 23:46:15.000000000 +0000
@@ -3,8 +3,8 @@
* Copyright 1999 by The XFree86 Project, Inc.
*/
-#ifdef HAVE_XORG_CONFIG_H
-#include <xorg-config.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
#endif
#include <X11/X.h>

View File

@ -3,7 +3,9 @@ require xf86-input-common.inc
DESCRIPTION = "X.Org X server -- mouse input driver"
PV = "1.3.0+git${SRCREV}"
PR = "r2"
SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-input-mouse;protocol=git"
SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-input-mouse;protocol=git \
file://unbreak.patch;patch=1"
S = "${WORKDIR}/git"