blob: cb0f0d5af3bb58befa9f397d03c3da7a15e1ae40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|