summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-02-05 10:40:04 +0000
committerAlexis Ballier <aballier@gentoo.org>2015-02-05 10:40:04 +0000
commit1d5b660912bf66d73c6c4bdce38a9de630f35e38 (patch)
treed59d5d33147dae8573a51f9803ed0f0d5015067a /x11-libs/libva-intel-driver/files
parentFix linker calls (bug #538702 by Toralf Förster). (diff)
downloadgentoo-2-1d5b660912bf66d73c6c4bdce38a9de630f35e38.tar.gz
gentoo-2-1d5b660912bf66d73c6c4bdce38a9de630f35e38.tar.bz2
gentoo-2-1d5b660912bf66d73c6c4bdce38a9de630f35e38.zip
backport fix from upstream to build with USE=-X, bug #538706
Signed-off-by: aballier@gentoo.org (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'x11-libs/libva-intel-driver/files')
-rw-r--r--x11-libs/libva-intel-driver/files/nox.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/x11-libs/libva-intel-driver/files/nox.patch b/x11-libs/libva-intel-driver/files/nox.patch
new file mode 100644
index 000000000000..ac41f4fa08e9
--- /dev/null
+++ b/x11-libs/libva-intel-driver/files/nox.patch
@@ -0,0 +1,27 @@
+commit bf324e3440246a487997a1624ac862e3e4027f9e
+Author: Michael Olbrich <m.olbrich@pengutronix.de>
+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);