diff options
author | Ross Burton <ross.burton@intel.com> | 2018-03-08 20:17:29 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-09 09:17:02 -0800 |
commit | c43ff6a8b2d448401f39c3acdd4703d6cf5be68f (patch) | |
tree | e0d7ddc35b5a57b0351f7b5857b317592780c6bd /meta/recipes-support/gmp/gmp-6.1.2/0001-confiure.ac-Believe-the-cflags-from-environment.patch | |
parent | d1b6e1892d2a2782c86cc565c5dde22fcba0b12f (diff) | |
download | poky-c43ff6a8b2d448401f39c3acdd4703d6cf5be68f.tar.gz |
gmp: 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: 9adf817a638229d69d866fd6f8f48ee23caa6864)
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>
Diffstat (limited to 'meta/recipes-support/gmp/gmp-6.1.2/0001-confiure.ac-Believe-the-cflags-from-environment.patch')
-rw-r--r-- | meta/recipes-support/gmp/gmp-6.1.2/0001-confiure.ac-Believe-the-cflags-from-environment.patch | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/meta/recipes-support/gmp/gmp-6.1.2/0001-confiure.ac-Believe-the-cflags-from-environment.patch b/meta/recipes-support/gmp/gmp-6.1.2/0001-confiure.ac-Believe-the-cflags-from-environment.patch index 665367658b..1e47924ccc 100644 --- a/meta/recipes-support/gmp/gmp-6.1.2/0001-confiure.ac-Believe-the-cflags-from-environment.patch +++ b/meta/recipes-support/gmp/gmp-6.1.2/0001-confiure.ac-Believe-the-cflags-from-environment.patch | |||
@@ -18,13 +18,13 @@ Upstream-Status: Inappropriate[OE-Specific] | |||
18 | configure.ac | 11 ----------- | 18 | configure.ac | 11 ----------- |
19 | 1 file changed, 11 deletions(-) | 19 | 1 file changed, 11 deletions(-) |
20 | 20 | ||
21 | diff --git a/configure.ac b/configure.ac | 21 | Index: gmp-6.1.2/configure.ac |
22 | index 857ea3b..359e919 100644 | 22 | =================================================================== |
23 | --- a/configure.ac | 23 | --- gmp-6.1.2.orig/configure.ac |
24 | +++ b/configure.ac | 24 | +++ gmp-6.1.2/configure.ac |
25 | @@ -607,15 +607,6 @@ case $host in | 25 | @@ -604,15 +604,6 @@ case $host in |
26 | GMP_INCLUDE_MPN(arm/arm-defs.m4) | 26 | any_32_testlist="sizeof-long-4" |
27 | CALLING_CONVENTIONS_OBJS='arm32call.lo arm32check.lo' | 27 | any_64_testlist="sizeof-long-8" |
28 | 28 | ||
29 | - # This is needed for clang, which is not content with flags like -mfpu=neon | 29 | - # This is needed for clang, which is not content with flags like -mfpu=neon |
30 | - # alone. | 30 | - # alone. |
@@ -38,7 +38,7 @@ index 857ea3b..359e919 100644 | |||
38 | # FIXME: We make mandatory compiler options optional here. We should | 38 | # FIXME: We make mandatory compiler options optional here. We should |
39 | # either enforce them, or organise to strip paths as the corresponding | 39 | # either enforce them, or organise to strip paths as the corresponding |
40 | # options fail. | 40 | # options fail. |
41 | @@ -686,8 +677,6 @@ case $host in | 41 | @@ -746,8 +737,6 @@ case $host in |
42 | ;; | 42 | ;; |
43 | *) | 43 | *) |
44 | path="arm" | 44 | path="arm" |
@@ -47,6 +47,3 @@ index 857ea3b..359e919 100644 | |||
47 | ;; | 47 | ;; |
48 | esac | 48 | esac |
49 | ;; | 49 | ;; |
50 | -- | ||
51 | 1.9.1 | ||
52 | |||