aballier    15/07/14 09:21:17

  Added:                libva-intel-driver-1.6.0-wayland-automagic.patch
  Log:
  fix build with USE=-wayland but wayland is installed, bug #553468
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.1                  
x11-libs/libva-intel-driver/files/libva-intel-driver-1.6.0-wayland-automagic.patch

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

Index: libva-intel-driver-1.6.0-wayland-automagic.patch
===================================================================
Index: libva-intel-driver-1.6.0/configure.ac
===================================================================
--- libva-intel-driver-1.6.0.orig/configure.ac
+++ libva-intel-driver-1.6.0/configure.ac
@@ -165,12 +165,14 @@ if test "$enable_wayland" = "yes"; then
     PKG_CHECK_MODULES([LIBVA_WAYLAND_DEPS], [libva-wayland],
         [AC_DEFINE([HAVE_VA_WAYLAND], [1], [Defined to 1 if VA/Wayland API is 
enabled])],
         [USE_WAYLAND="no"])
-fi
-AM_CONDITIONAL(USE_WAYLAND, test "$USE_WAYLAND" = "yes")
-
 m4_ifdef([WAYLAND_SCANNER_RULES],
     [WAYLAND_SCANNER_RULES(['$(top_builddir)/src/wayland'])],
     [wayland_scanner_rules=""; AC_SUBST(wayland_scanner_rules)])
+else
+    wayland_scanner_rules=""
+    AC_SUBST(wayland_scanner_rules)
+fi
+AM_CONDITIONAL(USE_WAYLAND, test "$USE_WAYLAND" = "yes")
 
 AC_OUTPUT([
     Makefile




Reply via email to