diff options
Diffstat (limited to 'meta/recipes-graphics/tslib/tslib/devfs.patch')
-rw-r--r-- | meta/recipes-graphics/tslib/tslib/devfs.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-graphics/tslib/tslib/devfs.patch b/meta/recipes-graphics/tslib/tslib/devfs.patch new file mode 100644 index 0000000000..d7ef0a9589 --- /dev/null +++ b/meta/recipes-graphics/tslib/tslib/devfs.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.holgerschurig.de/patcher.html | ||
4 | # | ||
5 | |||
6 | --- tslib/tests/fbutils.c~devfs.patch | ||
7 | +++ tslib/tests/fbutils.c | ||
8 | @@ -44,8 +44,8 @@ | ||
9 | static unsigned colormap [256]; | ||
10 | int xres, yres; | ||
11 | |||
12 | -static char *defaultfbdevice = "/dev/fb0"; | ||
13 | -static char *defaultconsoledevice = "/dev/tty"; | ||
14 | +static char *defaultfbdevice = "/dev/fb/0"; | ||
15 | +static char *defaultconsoledevice = "/dev/vc/"; | ||
16 | static char *fbdevice = NULL; | ||
17 | static char *consoledevice = NULL; | ||
18 | |||