summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libxcb/disable-check.patch
blob: c0efbdc213cdf3af031eaa92e20e67aba09559b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
The "check" package is checked for without an explicit enable/disable option,
which can lead to non-deterministic build issues with both check and libxslt.

As the unit test suite is minimal at present, simply disable the test suite.  In
the future if the test suite is expanded this can be made conditional on the
ptest DISTRO_FEATURE.

Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@intel.com>


Index: libxcb-1.12/configure.ac
===================================================================
--- libxcb-1.12.orig/configure.ac
+++ libxcb-1.12/configure.ac
@@ -36,7 +36,8 @@ if test x"$HAVE_DOT" = xno; then
     AC_MSG_WARN([dot not found - doxygen targets will be skipped])
 fi
 
-PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
+dnl PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
+HAVE_CHECK=no
 AM_CONDITIONAL(HAVE_CHECK, test x$HAVE_CHECK = xyes)
 
 XSLTPROC=no