Files
poky/meta/recipes-graphics/xorg-lib/libxcb/disable-check.patch
Ross Burton 709552d96a libxcb: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 4a3d8806d25e146be40eaf640bc6da8bdd1b6e05)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07 06:34:51 -08:00

26 lines
956 B
Diff

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