From: Ross Burton <ross.bur...@intel.com> 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. Signed-off-by: Ross Burton <ross.bur...@intel.com> Signed-off-by: Alexander Kanavin <alexander.kana...@linux.intel.com> --- .../libical/libical/Remove-cmake-check-for-Perl.patch | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch b/meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch index c5c0cb076e6..b50f50e7017 100644 --- a/meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch +++ b/meta/recipes-support/libical/libical/Remove-cmake-check-for-Perl.patch @@ -14,11 +14,11 @@ Signed-off-by: Jussi Kukkonen <jussi.kukko...@intel.com> CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index d5aad80..5cc9863 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -91,8 +91,7 @@ if(SHARED_ONLY) +Index: libical-2.0.0/CMakeLists.txt +=================================================================== +--- libical-2.0.0.orig/CMakeLists.txt ++++ libical-2.0.0/CMakeLists.txt +@@ -116,8 +116,7 @@ if(SHARED_ONLY) set(LIBRARY_TYPE SHARED) endif() @@ -26,8 +26,5 @@ index d5aad80..5cc9863 100644 -find_package(Perl REQUIRED) +set(PERL_EXECUTABLE perl) - # MSVC specific definitions - if(WIN32) --- -2.1.4 - + # Ensure finding 64bit libs when using 64-bit compilers + if(CMAKE_CL_64) -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core