mirror of
https://git.yoctoproject.org/poky
synced 2026-05-22 08:27:55 +02:00
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: 77fb72c76c8a5b2229a32f36a913a3293e9d2b56) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
26 lines
885 B
Diff
26 lines
885 B
Diff
This is the revised version of files/macro_tweak.patch for
|
|
xorg-server 1.8.99.904 and newer.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Yu Ke <ke.yu@intel.com>
|
|
|
|
Index: xorg-server-1.19.6/xorg-server.m4
|
|
===================================================================
|
|
--- xorg-server-1.19.6.orig/xorg-server.m4
|
|
+++ xorg-server-1.19.6/xorg-server.m4
|
|
@@ -28,10 +28,12 @@ dnl
|
|
# Checks for the MACRO define in xorg-server.h (from the sdk). If it
|
|
# is defined, then add the given PROTO to $REQUIRED_MODULES.
|
|
|
|
+m4_pattern_allow(PKG_CONFIG_SYSROOT_DIR)
|
|
+
|
|
AC_DEFUN([XORG_DRIVER_CHECK_EXT],[
|
|
AC_REQUIRE([PKG_PROG_PKG_CONFIG])
|
|
SAVE_CFLAGS="$CFLAGS"
|
|
- CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
|
|
+ CFLAGS="$CFLAGS -I$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=sdkdir xorg-server`"
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
#include "xorg-server.h"
|
|
#if !defined $1
|