aboutsummaryrefslogtreecommitdiff
path: root/libraries/libva/wayland-automagic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libva/wayland-automagic.patch')
-rw-r--r--libraries/libva/wayland-automagic.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/libraries/libva/wayland-automagic.patch b/libraries/libva/wayland-automagic.patch
new file mode 100644
index 0000000000000..d55c3f5da8402
--- /dev/null
+++ b/libraries/libva/wayland-automagic.patch
@@ -0,0 +1,19 @@
+--- a/configure.ac 2015-06-14 18:17:48.776175722 +0200
++++ b/configure.ac 2015-06-14 18:26:45.710159385 +0200
+@@ -275,14 +275,13 @@
+ if test "$USE_WAYLAND" = "yes"; then
+ AC_DEFINE([HAVE_VA_WAYLAND], [1],
+ [Defined to 1 if VA/Wayland API is built])
++ m4_ifdef([WAYLAND_SCANNER_RULES],
++ [WAYLAND_SCANNER_RULES(['$(top_buildir)/va/wayland/protocol'])],
++ [wayland_scanner_rules=""; AC_SUBST(wayland_scanner_rules)])
+ fi
+ fi
+ AM_CONDITIONAL(USE_WAYLAND, test "$USE_WAYLAND" = "yes")
+
+-m4_ifdef([WAYLAND_SCANNER_RULES],
+- [WAYLAND_SCANNER_RULES(['$(top_builddir)/va/wayland/protocol'])],
+- [wayland_scanner_rules=""; AC_SUBST(wayland_scanner_rules)])
+-
+ pkgconfigdir=${libdir}/pkgconfig
+ AC_SUBST(pkgconfigdir)