void-packages/srcpkgs/plymouth/patches/02-set-default-framebuffer-device-to-dev-fb0.patch

18 lines
744 B
Diff
Raw Normal View History

Author: Guido Guenther <agx@sigxcpu.org>
Description:
Set default framebuffer device to /dev/fb0 instead of /dev/fb which doesn't
exist by default (Closes: #573724).
diff -Naurp plymouth.orig//src/plugins/renderers/frame-buffer/plugin.c plymouth/src/plugins/renderers/frame-buffer/plugin.c
--- plymouth.orig//src/plugins/renderers/frame-buffer/plugin.c 2010-11-20 16:22:53.066407620 +0100
+++ plymouth/src/plugins/renderers/frame-buffer/plugin.c 2010-11-20 16:23:21.861484753 +0100
@@ -56,7 +56,7 @@
#include "ply-renderer-plugin.h"
#ifndef PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME
-#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb"
+#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb0"
#endif
struct _ply_renderer_head