summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-12-07 00:19:22 -0500
committerMike Frysinger <vapier@gentoo.org>2016-12-07 00:19:22 -0500
commit7bfe70d0e1ac379f44661c7b783d482052dfe183 (patch)
tree9326b7196854643ef03838d0919245ea828ce4d7 /x11-drivers
parentapp-admin/fam: make out of tree builds work to avoid pointless source tree co... (diff)
downloadgentoo-7bfe70d0e1ac379f44661c7b783d482052dfe183.tar.gz
gentoo-7bfe70d0e1ac379f44661c7b783d482052dfe183.tar.bz2
gentoo-7bfe70d0e1ac379f44661c7b783d482052dfe183.zip
x11-drivers/xf86-video-intel: add missing config.h header to fix build w/newer glibc #575970
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-intel/files/xf86-video-intel-2.99.917-config-header.patch27
-rw-r--r--x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160621-r1.ebuild4
-rw-r--r--x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161110.ebuild4
-rw-r--r--x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161118.ebuild4
4 files changed, 39 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
+
diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160621-r1.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160621-r1.ebuild
index 5cbb4d773e09..77deca39db58 100644
--- a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160621-r1.ebuild
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160621-r1.ebuild
@@ -45,6 +45,10 @@ DEPEND="${RDEPEND}
x11-proto/presentproto
x11-proto/resourceproto"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.99.917-config-header.patch #575970
+)
+
src_configure() {
replace-flags -Os -O2
XORG_CONFIGURE_OPTIONS=(
diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161110.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161110.ebuild
index 45158dc42abc..1c05779f544b 100644
--- a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161110.ebuild
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161110.ebuild
@@ -45,6 +45,10 @@ DEPEND="${RDEPEND}
x11-proto/presentproto
x11-proto/resourceproto"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.99.917-config-header.patch #575970
+)
+
src_configure() {
replace-flags -Os -O2
XORG_CONFIGURE_OPTIONS=(
diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161118.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161118.ebuild
index d9d2e250dad9..51b065ae181e 100644
--- a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161118.ebuild
+++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20161118.ebuild
@@ -45,6 +45,10 @@ DEPEND="${RDEPEND}
x11-proto/presentproto
x11-proto/resourceproto"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.99.917-config-header.patch #575970
+)
+
src_configure() {
replace-flags -Os -O2
XORG_CONFIGURE_OPTIONS=(