diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-03 17:39:29 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-03 17:39:29 +0000 |
commit | 6314103003cef434c29d2133769195daf5cc9309 (patch) | |
tree | 9c450c156ce82a0a424d5654790def0e895a4707 /meta/packages/busybox/busybox-1.01/fbset.patch | |
parent | 9f9900b9b4ef2d2e855293f7850f81fa0f33a616 (diff) | |
download | poky-6314103003cef434c29d2133769195daf5cc9309.tar.gz |
busybox: drop 1.01, make 1.8.2 default
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3888 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/busybox/busybox-1.01/fbset.patch')
-rw-r--r-- | meta/packages/busybox/busybox-1.01/fbset.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/packages/busybox/busybox-1.01/fbset.patch b/meta/packages/busybox/busybox-1.01/fbset.patch deleted file mode 100644 index d0609ce6f7..0000000000 --- a/meta/packages/busybox/busybox-1.01/fbset.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | --- busybox/util-linux/fbset.c~ 2004-07-03 16:24:23.000000000 +0100 | ||
2 | +++ busybox/util-linux/fbset.c 2004-12-30 20:09:26.000000000 +0000 | ||
3 | @@ -337,7 +337,7 @@ | ||
4 | { | ||
5 | struct fb_var_screeninfo var, varset; | ||
6 | int fh, i; | ||
7 | - char *fbdev = DEFAULTFBDEV; | ||
8 | + char *fbdev = NULL; | ||
9 | char *modefile = DEFAULTFBMODE; | ||
10 | char *thisarg, *mode = NULL; | ||
11 | |||
12 | @@ -404,7 +404,12 @@ | ||
13 | } | ||
14 | } | ||
15 | |||
16 | + if (fbdev == NULL) | ||
17 | + fbdev = DEFAULTFBDEV; | ||
18 | if ((fh = open(fbdev, O_RDONLY)) < 0) | ||
19 | +#ifdef CONFIG_FEATURE_DEVFS | ||
20 | + if ((fh = open("/dev/fb0", O_RDONLY)) < 0) | ||
21 | +#endif | ||
22 | bb_perror_msg_and_die("fbset(open)"); | ||
23 | if (ioctl(fh, FBIOGET_VSCREENINFO, &var)) | ||
24 | bb_perror_msg_and_die("fbset(ioctl)"); | ||