xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/xorg-lib/libxcb/disable-check.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1The "check" package is checked for without an explicit enable/disable option,
2which can lead to non-deterministic build issues with both check and libxslt.
3
4As the unit test suite is minimal at present, simply disable the test suite.  In
5the future if the test suite is expanded this can be made conditional on the
6ptest DISTRO_FEATURE.
7
8Upstream-Status: Inappropriate
9Signed-off-by: Ross Burton <ross.burton@intel.com>
10
11
12Index: libxcb-1.12/configure.ac
13===================================================================
14--- libxcb-1.12.orig/configure.ac
15+++ libxcb-1.12/configure.ac
16@@ -36,7 +36,8 @@ if test x"$HAVE_DOT" = xno; then
17     AC_MSG_WARN([dot not found - doxygen targets will be skipped])
18 fi
19
20-PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
21+dnl PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
22+HAVE_CHECK=no
23 AM_CONDITIONAL(HAVE_CHECK, test x$HAVE_CHECK = xyes)
24
25 XSLTPROC=no
26