summaryrefslogtreecommitdiffstats
path: root/package/directfb/directfb-i830-detect.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/directfb/directfb-i830-detect.patch')
-rw-r--r--package/directfb/directfb-i830-detect.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/directfb/directfb-i830-detect.patch b/package/directfb/directfb-i830-detect.patch
new file mode 100644
index 000000000..fbe4816d2
--- /dev/null
+++ b/package/directfb/directfb-i830-detect.patch
@@ -0,0 +1,17 @@
+Detect the presence of the I830 fb driver rather than
+just assuming it always exists.
+
+--- DirectFB-0.9.22/configure
++++ DirectFB-0.9.22/configure
+@@ -23622,9 +23622,9 @@
+ /* end confdefs.h. */
+
+ #include <linux/fb.h>
+-//#ifdef FB_ACCEL_I830
++#ifdef FB_ACCEL_I830
+ yes
+-//#endif
++#endif
+
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |