Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/libva-intel-driver/files: nox.patch
Date: Thu, 05 Feb 2015 10:40:08
Message-Id: 20150205104004.C4C8E111B0@oystercatcher.gentoo.org
1 aballier 15/02/05 10:40:04
2
3 Added: nox.patch
4 Log:
5 backport fix from upstream to build with USE=-X, bug #538706
6
7 Signed-off-by: aballier@g.o
8 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.1 x11-libs/libva-intel-driver/files/nox.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva-intel-driver/files/nox.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva-intel-driver/files/nox.patch?rev=1.1&content-type=text/plain
15
16 Index: nox.patch
17 ===================================================================
18 commit bf324e3440246a487997a1624ac862e3e4027f9e
19 Author: Michael Olbrich <m.olbrich@×××××××××××.de>
20 Date: Mon Aug 4 19:05:18 2014 +0200
21
22 add missing include
23
24 Without this building without HAVE_VA_X11 fails with:
25 [...]
26 In file included from i965_drv_video.c:37:0:
27 i965_output_wayland.h:31:26: error: unknown type name 'VADriverContextP'
28 i965_output_wayland.h:34:31: error: unknown type name 'VADriverContextP'
29 i965_drv_video.c:5243:9: error: 'i965_output_wayland_init' undeclared here (not in a function)
30 i965_drv_video.c:5244:9: error: 'i965_output_wayland_terminate' undeclared here (not in a function)
31 [....]
32
33 diff --git a/src/i965_output_wayland.h b/src/i965_output_wayland.h
34 index 61ca39f..acea8d9 100644
35 --- a/src/i965_output_wayland.h
36 +++ b/src/i965_output_wayland.h
37 @@ -26,6 +26,7 @@
38 #define I965_OUTPUT_WAYLAND_H
39
40 #include <stdbool.h>
41 +#include <va/va_backend.h>
42
43 bool
44 i965_output_wayland_init(VADriverContextP ctx);