summaryrefslogtreecommitdiffstats
path: root/meta/packages/busybox/busybox-1.01/fbset.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/busybox/busybox-1.01/fbset.patch')
-rw-r--r--meta/packages/busybox/busybox-1.01/fbset.patch24
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)");