diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-05 00:05:09 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-05 00:05:09 +0000 |
commit | 9ffb17080fa82aa550b304be77242e65c42802e1 (patch) | |
tree | d3c99145d90979fa39f12547c36f3a9c06f780fc /meta | |
parent | d9dfbf4e1295d5fc6f7233ae774a78633e887ded (diff) | |
download | poky-9ffb17080fa82aa550b304be77242e65c42802e1.tar.gz |
xf86-input-mouse: Fix header files included
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/xorg-driver/xf86-input-mouse/unbreak.patch | 19 | ||||
-rw-r--r-- | meta/packages/xorg-driver/xf86-input-mouse_git.bb | 4 |
2 files changed, 22 insertions, 1 deletions
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 0000000000..665b320df1 --- /dev/null +++ b/meta/packages/xorg-driver/xf86-input-mouse/unbreak.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Unbreak the linux mouse driver by using config.h | ||
2 | |||
3 | RP - 4/11/07 | ||
4 | |||
5 | Index: git/src/lnx_mouse.c | ||
6 | =================================================================== | ||
7 | --- git.orig/src/lnx_mouse.c 2008-11-04 23:46:05.000000000 +0000 | ||
8 | +++ git/src/lnx_mouse.c 2008-11-04 23:46:15.000000000 +0000 | ||
9 | @@ -3,8 +3,8 @@ | ||
10 | * Copyright 1999 by The XFree86 Project, Inc. | ||
11 | */ | ||
12 | |||
13 | -#ifdef HAVE_XORG_CONFIG_H | ||
14 | -#include <xorg-config.h> | ||
15 | +#ifdef HAVE_CONFIG_H | ||
16 | +#include <config.h> | ||
17 | #endif | ||
18 | |||
19 | #include <X11/X.h> | ||
diff --git a/meta/packages/xorg-driver/xf86-input-mouse_git.bb b/meta/packages/xorg-driver/xf86-input-mouse_git.bb index e1b16788e8..5503e56dc3 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 | |||
3 | DESCRIPTION = "X.Org X server -- mouse input driver" | 3 | DESCRIPTION = "X.Org X server -- mouse input driver" |
4 | 4 | ||
5 | PV = "1.3.0+git${SRCREV}" | 5 | PV = "1.3.0+git${SRCREV}" |
6 | PR = "r2" | ||
6 | 7 | ||
7 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-input-mouse;protocol=git" | 8 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-input-mouse;protocol=git \ |
9 | file://unbreak.patch;patch=1" | ||
8 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
9 | 11 | ||