From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-intel/files/, x11-drivers/xf86-video-intel/
Date: Wed, 7 Dec 2016 05:19:36 +0000 (UTC) [thread overview]
Message-ID: <1481087962.7bfe70d0e1ac379f44661c7b783d482052dfe183.vapier@gentoo> (raw)
commit: 7bfe70d0e1ac379f44661c7b783d482052dfe183
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 7 05:19:22 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Dec 7 05:19:22 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bfe70d0
x11-drivers/xf86-video-intel: add missing config.h header to fix build w/newer glibc #575970
| 27 ++++++++++++++++++++++
.../xf86-video-intel-2.99.917_p20160621-r1.ebuild | 4 ++++
.../xf86-video-intel-2.99.917_p20161110.ebuild | 4 ++++
.../xf86-video-intel-2.99.917_p20161118.ebuild | 4 ++++
4 files changed, 39 insertions(+)
--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 00000000..cf4e730
--- /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 5cbb4d7..77deca3 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 45158dc..1c05779 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 d9d2e25..51b065a 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=(
next reply other threads:[~2016-12-07 5:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-07 5:19 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-04-26 21:20 [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-intel/files/, x11-drivers/xf86-video-intel/ Matt Turner
2020-03-10 0:31 Jason A. Donenfeld
2020-04-06 20:15 Matt Turner
2021-12-02 5:16 Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1481087962.7bfe70d0e1ac379f44661c7b783d482052dfe183.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox