From: | "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-nouveau/files: xf86-video-nouveau-1.0.9-immintrin-include.patch |
Date: | Wed, 02 Oct 2013 08:28:07 |
Message-Id: | 20131002082804.321192004E@flycatcher.gentoo.org |
1 | chithanh 13/10/02 08:28:04 |
2 | |
3 | Added: xf86-video-nouveau-1.0.9-immintrin-include.patch |
4 | Log: |
5 | Fix building on ppc/ppc64, bug #486756. |
6 | |
7 | (Portage version: 2.2.1/cvs/Linux x86_64, unsigned Manifest commit) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-drivers/xf86-video-nouveau/files/xf86-video-nouveau-1.0.9-immintrin-include.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-nouveau/files/xf86-video-nouveau-1.0.9-immintrin-include.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-nouveau/files/xf86-video-nouveau-1.0.9-immintrin-include.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: xf86-video-nouveau-1.0.9-immintrin-include.patch |
16 | =================================================================== |
17 | From 1df177f35a05db505577cdc929e63fde906a704b Mon Sep 17 00:00:00 2001 |
18 | From: Dave Airlie <airlied@×××××.com> |
19 | Date: Wed, 31 Jul 2013 00:51:03 +0000 |
20 | Subject: nouveau: fix build on ppc by wrapping immintrin include. |
21 | |
22 | Signed-off-by: Dave Airlie <airlied@××××××.com> |
23 | --- |
24 | diff --git a/src/nouveau_xv.c b/src/nouveau_xv.c |
25 | index 5569b7c..e19378d 100644 |
26 | --- a/src/nouveau_xv.c |
27 | +++ b/src/nouveau_xv.c |
28 | @@ -25,7 +25,9 @@ |
29 | #include "config.h" |
30 | #endif |
31 | |
32 | +#ifdef __SSE2__ |
33 | #include <immintrin.h> |
34 | +#endif |
35 | |
36 | #include "xf86xv.h" |
37 | #include <X11/extensions/Xv.h> |
38 | -- |
39 | cgit v0.9.0.2-2-gbebe |