aballier    15/02/05 10:40:04

  Added:                nox.patch
  Log:
  backport fix from upstream to build with USE=-X, bug #538706
  
  Signed-off-by: [email protected]
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.1                  x11-libs/libva-intel-driver/files/nox.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva-intel-driver/files/nox.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva-intel-driver/files/nox.patch?rev=1.1&content-type=text/plain

Index: nox.patch
===================================================================
commit bf324e3440246a487997a1624ac862e3e4027f9e
Author: Michael Olbrich <[email protected]>
Date:   Mon Aug 4 19:05:18 2014 +0200

    add missing include
    
    Without this building without HAVE_VA_X11 fails with:
    [...]
    In file included from i965_drv_video.c:37:0:
    i965_output_wayland.h:31:26: error: unknown type name 'VADriverContextP'
    i965_output_wayland.h:34:31: error: unknown type name 'VADriverContextP'
    i965_drv_video.c:5243:9: error: 'i965_output_wayland_init' undeclared here 
(not in a function)
    i965_drv_video.c:5244:9: error: 'i965_output_wayland_terminate' undeclared 
here (not in a function)
    [....]

diff --git a/src/i965_output_wayland.h b/src/i965_output_wayland.h
index 61ca39f..acea8d9 100644
--- a/src/i965_output_wayland.h
+++ b/src/i965_output_wayland.h
@@ -26,6 +26,7 @@
 #define I965_OUTPUT_WAYLAND_H
 
 #include <stdbool.h>
+#include <va/va_backend.h>
 
 bool
 i965_output_wayland_init(VADriverContextP ctx);




Reply via email to