diff options
author | Ross Burton <ross.burton@intel.com> | 2017-11-15 16:44:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-07 06:34:51 -0800 |
commit | 261b8ddf5b5492cc8e89057a123e05418bd2145f (patch) | |
tree | 4db8cddf81d3f0da7ab2993c166c766f2cc6d1c4 | |
parent | e6a66da9a9189af4493c32d1f34a21fff4647ca7 (diff) | |
download | poky-261b8ddf5b5492cc8e89057a123e05418bd2145f.tar.gz |
vulkan: 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: 453a433768bff76e4d3ad9bf40fd9d8210b0950e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch b/meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch index 3cf241d62a..bcf84a5a3e 100644 --- a/meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch +++ b/meta/recipes-graphics/vulkan/vulkan/demos-Don-t-build-tri-or-cube.patch | |||
@@ -11,9 +11,11 @@ Date: Tue Feb 16 10:05:25 2016 -0500 | |||
11 | Upstream-Status: Inappropriate [configuration] | 11 | Upstream-Status: Inappropriate [configuration] |
12 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | 12 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> |
13 | 13 | ||
14 | --- a/demos/CMakeLists.txt | 14 | Index: git/demos/CMakeLists.txt |
15 | +++ b/demos/CMakeLists.txt | 15 | =================================================================== |
16 | @@ -61,46 +61,6 @@ | 16 | --- git.orig/demos/CMakeLists.txt |
17 | +++ git/demos/CMakeLists.txt | ||
18 | @@ -63,46 +63,6 @@ elseif(UNIX) | ||
17 | else() | 19 | else() |
18 | endif() | 20 | endif() |
19 | 21 | ||
@@ -60,7 +62,7 @@ Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | |||
60 | 62 | ||
61 | if(WIN32) | 63 | if(WIN32) |
62 | include_directories ( | 64 | include_directories ( |
63 | @@ -114,43 +74,6 @@ | 65 | @@ -116,43 +76,6 @@ endif() |
64 | add_executable(${API_LOWERCASE}info vulkaninfo.c) | 66 | add_executable(${API_LOWERCASE}info vulkaninfo.c) |
65 | target_link_libraries(${API_LOWERCASE}info ${LIBRARIES}) | 67 | target_link_libraries(${API_LOWERCASE}info ${LIBRARIES}) |
66 | 68 | ||
@@ -103,4 +105,4 @@ Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | |||
103 | -endif() | 105 | -endif() |
104 | 106 | ||
105 | if(UNIX) | 107 | if(UNIX) |
106 | install(TARGETS ${API_LOWERCASE}info DESTINATION ${CMAKE_INSTALL_BINDIR}) | 108 | if(INSTALL_LVL_FILES) |