File U_fix-building-without-wayland-support.patch of Package vaapi-intel-driver
Author: Stefan Dirsch
Subject: Fix building without wayland support
References: fdo#79478
Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
Patch has been created based on information of the patch in fdo#79478, comment#22.
It's supposed to be fixed upstream in git.
--- libva-intel-driver-1.6.2.orig/configure.ac 2016-02-04 15:57:01.961067000 +0100
+++ libva-intel-driver-1.6.2/configure.ac 2016-02-04 16:00:25.598513000 +0100
@@ -177,12 +177,12 @@
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"])
+ m4_ifdef([WAYLAND_SCANNER_RULES],
+ [WAYLAND_SCANNER_RULES(['$(top_builddir)/src/wayland'])],
+ [wayland_scanner_rules=""; AC_SUBST(wayland_scanner_rules)])
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)])
+AM_CONDITIONAL(USE_WAYLAND, test "$USE_WAYLAND" = "yes")
AC_OUTPUT([
Makefile