From 9ffb17080fa82aa550b304be77242e65c42802e1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 5 Nov 2008 00:05:09 +0000 Subject: xf86-input-mouse: Fix header files included --- .../xorg-driver/xf86-input-mouse/unbreak.patch | 19 +++++++++++++++++++ meta/packages/xorg-driver/xf86-input-mouse_git.bb | 4 +++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 meta/packages/xorg-driver/xf86-input-mouse/unbreak.patch diff --git a/meta/packages/xorg-driver/xf86-input-mouse/unbreak.patch b/meta/packages/xorg-driver/xf86-input-mouse/unbreak.patch new file mode 100644 index 000000000..665b320df --- /dev/null +++ b/meta/packages/xorg-driver/xf86-input-mouse/unbreak.patch @@ -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 ++#ifdef HAVE_CONFIG_H ++#include + #endif + + #include diff --git a/meta/packages/xorg-driver/xf86-input-mouse_git.bb b/meta/packages/xorg-driver/xf86-input-mouse_git.bb index e1b16788e..5503e56dc 100644 --- a/meta/packages/xorg-driver/xf86-input-mouse_git.bb +++ b/meta/packages/xorg-driver/xf86-input-mouse_git.bb @@ -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" -- cgit v1.2.3