aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAndy Wingo <wingo@igalia.com>2017-09-20 15:09:35 +0200
committerAndy Wingo <wingo@igalia.com>2017-09-20 15:40:31 +0200
commitc68c201fdd429140da1c606861c9296b9cb01265 (patch)
tree730ec868fff16e67cede180f10f6c16b0bf3fb03 /gnu/packages
parent23290064c294a254ffa38ba0b772231087e01c54 (diff)
downloadguix-c68c201fdd429140da1c606861c9296b9cb01265.tar
guix-c68c201fdd429140da1c606861c9296b9cb01265.tar.gz
gnu: xorg-server: Prefer intel driver only for older GPUs.
* gnu/packages/xorg.scm (xorg-server): Add patch to only prefer the intel driver for older Intel GPUs. Signed-off-by: Andy Wingo <wingo@igalia.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/xorg.scm17
1 files changed, 15 insertions, 2 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index b3a115404c..57ba8a2db0 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5073,8 +5073,21 @@ over Xlib, including:
(base32
"162s1v901djr57gxmmk4airk8hiwcz79dqyz72972x1lw1k82yk7"))
(patches
- (search-patches "xorg-server-CVE-2017-10971.patch"
- "xorg-server-CVE-2017-10972.patch"))))
+ (cons
+ ;; See:
+ ;; https://lists.fedoraproject.org/archives/list/devel@lists.
+ ;; fedoraproject.org/message/JU655YB7AM4OOEQ4MOMCRHJTYJ76VFOK/
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git"
+ "/plain/06_use-intel-only-on-pre-gen4.diff"))
+ (sha256
+ (base32
+ "0mm70y058r8s9y9jiv7q2myv0ycnaw3iqzm7d274410s0ik38w7q"))
+ (file-name "xorg-server-use-intel-only-on-pre-gen4.diff"))
+ (search-patches "xorg-server-CVE-2017-10971.patch"
+ "xorg-server-CVE-2017-10972.patch")))))
(build-system gnu-build-system)
(propagated-inputs
`(("dri2proto" ,dri2proto)