summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-driver/xf86-video-intel/disable-x11-dri3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xf86-video-intel/disable-x11-dri3.patch')
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel/disable-x11-dri3.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel/disable-x11-dri3.patch b/meta/recipes-graphics/xorg-driver/xf86-video-intel/disable-x11-dri3.patch
new file mode 100644
index 0000000000..dda508dcfd
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-intel/disable-x11-dri3.patch
@@ -0,0 +1,17 @@
1These modules are only used for tests that don't get installed, and the
2automatic detection without explicit dependencies means that a build can find
3e.g. xshmfence at configure time but then it's been removed from the sysroot by
4the time compile happens.
5
6As the tests don't get installed, just disable the checks.
7
8Upstream-Status: Inappropriate [OE-specific]
9Signed-off-by: Ross Burton <ross.burton@intel.com>
10
11diff --git a/configure.ac b/configure.ac
12index bd654f3..78a0e0d 100644
13--- a/configure.ac
14+++ b/configure.ac
15@@ -251 +251 @@ fi
16-PKG_CHECK_MODULES(X11_DRI3, [xcb-dri3 xcb-sync xcb-present x11-xcb xshmfence x11 xrender xext libdrm], [x11_dri3="yes"], [x11_dri3="no"])
17+#PKG_CHECK_MODULES(X11_DRI3, [xcb-dri3 xcb-sync xcb-present x11-xcb xshmfence x11 xrender xext libdrm], [x11_dri3="yes"], [x11_dri3="no"])