summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-09 20:56:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-11 06:27:01 -0700
commit016c527bed0e003e6c24b1986ac639b042548d98 (patch)
treeb898412d7c2c26cd90b28d0725d21158ea75e123 /meta/recipes-support
parent1caae443eef7195d61ce0d1485e5934640e74b0f (diff)
downloadpoky-016c527bed0e003e6c24b1986ac639b042548d98.tar.gz
libunwind: 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: 268186429d10047796a4801baf95ae8a8f722658) 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')
-rw-r--r--meta/recipes-support/libunwind/libunwind/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch23
1 files changed, 10 insertions, 13 deletions
diff --git a/meta/recipes-support/libunwind/libunwind/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch b/meta/recipes-support/libunwind/libunwind/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
index 0dff2c86dc..c8faca4724 100644
--- a/meta/recipes-support/libunwind/libunwind/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
+++ b/meta/recipes-support/libunwind/libunwind/Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
@@ -28,10 +28,10 @@ https://raw.githubusercontent.com/rdnetto/teapot-buildroot/master/package/libunw
28 include/libunwind_i.h | 1 + 28 include/libunwind_i.h | 1 +
29 2 files changed, 2 insertions(+), 7 deletions(-) 29 2 files changed, 2 insertions(+), 7 deletions(-)
30 30
31diff --git a/acinclude.m4 b/acinclude.m4 31Index: libunwind-1.2.1/acinclude.m4
32index 497f7c2..9c15af1 100644 32===================================================================
33--- a/acinclude.m4 33--- libunwind-1.2.1.orig/acinclude.m4
34+++ b/acinclude.m4 34+++ libunwind-1.2.1/acinclude.m4
35@@ -22,11 +22,5 @@ fi]) 35@@ -22,11 +22,5 @@ fi])
36 AC_DEFUN([CHECK_ATOMIC_OPS], 36 AC_DEFUN([CHECK_ATOMIC_OPS],
37 [dnl Check whether the system has the atomic_ops package installed. 37 [dnl Check whether the system has the atomic_ops package installed.
@@ -45,18 +45,15 @@ index 497f7c2..9c15af1 100644
45-# AC_CHECK_LIB(atomic_ops, main) 45-# AC_CHECK_LIB(atomic_ops, main)
46+ AC_CHECK_LIB(atomic_ops, main) 46+ AC_CHECK_LIB(atomic_ops, main)
47 ]) 47 ])
48diff --git a/include/libunwind_i.h b/include/libunwind_i.h 48Index: libunwind-1.2.1/include/libunwind_i.h
49index 23f615e..deabdfd 100644 49===================================================================
50--- a/include/libunwind_i.h 50--- libunwind-1.2.1.orig/include/libunwind_i.h
51+++ b/include/libunwind_i.h 51+++ libunwind-1.2.1/include/libunwind_i.h
52@@ -95,6 +95,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ 52@@ -116,6 +116,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE
53 (pthread_mutex_unlock != NULL ? pthread_mutex_unlock (l) : 0) 53 (pthread_mutex_unlock != NULL ? pthread_mutex_unlock (l) : 0)
54 54
55 #ifdef HAVE_ATOMIC_OPS_H 55 #ifdef HAVE_ATOMIC_OPS_H
56+# define AO_REQUIRE_CAS 56+# define AO_REQUIRE_CAS
57 # include <atomic_ops.h> 57 # include <atomic_ops.h>
58 static inline int 58 static inline int
59 cmpxchg_ptr (void *addr, void *old, void *new) 59 cmpxchg_ptr (void *addr, void *old, void *new)
60--
611.9.2
62