summaryrefslogtreecommitdiff
path: root/sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-03-12 17:35:09 +0200
committerBlackNoxis <steven.darklight@gmail.com>2015-03-12 17:35:09 +0200
commit7d10c2b713ffe1d904a00e1f9cdf4e5b418765d2 (patch)
treeaa09f235214806d34cc7f54ba36b5ceb41cbb903 /sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch
parentcca8c5a01ce87a53c3240b2945f7345e194dc2b4 (diff)
Corrected plymouth 0.9.0
Diffstat (limited to 'sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch')
-rw-r--r--sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch b/sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch
new file mode 100644
index 00000000..cb0f0d5a
--- /dev/null
+++ b/sys-boot/plymouth/files/0.9_pre20111013-gentoo-fb-path.patch
@@ -0,0 +1,25 @@
+From 5fd3ed5a1f661eb1d99e1d4df5edad8410cc54e3 Mon Sep 17 00:00:00 2001
+From: root <root@christoph.egore.lan>
+Date: Sun, 25 Oct 2009 03:55:54 +0100
+Subject: [PATCH] Gentoo does not have /dev/fb, but /dev/fb0 (at least on i915 KMS)
+
+---
+ src/plugins/renderers/frame-buffer/plugin.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/libply/ply-frame-buffer.c b/src/libply/ply-frame-buffer.c
+index a1e4fcd..19aab4b 100644
+--- a/src/plugins/renderers/frame-buffer/plugin.c
++++ b/src/plugins/renderers/frame-buffer/plugin.c
+@@ -46,7 +46,7 @@
+ #include <linux/fb.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_frame_buffer
+--
+1.6.5
+