|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/base/fbset/devfs.patch
|
|
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
|
|
#
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
# of the GNU General Public License as published by the Free Software
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
# version.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
--- ./Makefile.orig Sun Jan 17 21:15:46 1999
|
|
+++ ./Makefile Sat Oct 6 15:33:04 2001
|
|
@@ -28,14 +28,6 @@
|
|
$(INSTALL) fbset /usr/sbin
|
|
$(INSTALL) fbset.8 /usr/man/man8
|
|
$(INSTALL) fb.modes.5 /usr/man/man5
|
|
- if [ ! -c /dev/fb0 ]; then mknod /dev/fb0 c 29 0; fi
|
|
- if [ ! -c /dev/fb1 ]; then mknod /dev/fb1 c 29 32; fi
|
|
- if [ ! -c /dev/fb2 ]; then mknod /dev/fb2 c 29 64; fi
|
|
- if [ ! -c /dev/fb3 ]; then mknod /dev/fb3 c 29 96; fi
|
|
- if [ ! -c /dev/fb4 ]; then mknod /dev/fb4 c 29 128; fi
|
|
- if [ ! -c /dev/fb5 ]; then mknod /dev/fb5 c 29 160; fi
|
|
- if [ ! -c /dev/fb6 ]; then mknod /dev/fb6 c 29 192; fi
|
|
- if [ ! -c /dev/fb7 ]; then mknod /dev/fb7 c 29 224; fi
|
|
|
|
clean:
|
|
$(RM) *.o fbset lex.yy.c modes.tab.c modes.tab.h
|
|
--- ./fbset.c.orig Wed Jun 23 17:11:46 1999
|
|
+++ ./fbset.c Sat Oct 6 15:33:52 2001
|
|
@@ -41,7 +41,7 @@
|
|
* Default Frame Buffer Special Device Node
|
|
*/
|
|
|
|
-#define DEFAULT_FRAMEBUFFER "/dev/fb0"
|
|
+#define DEFAULT_FRAMEBUFFER "/dev/fb/0"
|
|
|
|
|
|
/*
|