summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-config-header.patch')
-rw-r--r--x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-config-header.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-config-header.patch b/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-config-header.patch
new file mode 100644
index 000000000000..cf4e7307d28c
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-config-header.patch
@@ -0,0 +1,27 @@
+https://bugs.gentoo.org/575970
+https://lists.freedesktop.org/archives/intel-gfx/2016-December/113685.html
+
+From 7cb250a3ce966dc0c96d167669922b0667160d1e Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Wed, 13 Apr 2016 21:35:37 -0400
+Subject: [PATCH] tools/backlight_helper: #include "config.h"
+
+---
+ tools/backlight_helper.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/tools/backlight_helper.c b/tools/backlight_helper.c
+index a00f0d6bd8a2..aadb8fac92ba 100644
+--- a/tools/backlight_helper.c
++++ b/tools/backlight_helper.c
+@@ -1,3 +1,7 @@
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdarg.h>
+--
+2.11.0.rc2
+