From 6ffaef6848e4292ca9d2a6799d7163d8100b4d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 31 Jul 2016 02:51:17 +0200 Subject: [PATCH] mame update to 0176 and fix build with gcc6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- ....h-Remove-neon_reinterpret-use-casts.patch | 39 +++++++++++++++++++ .../mame/{mame_0174.bb => mame_0176.bb} | 5 ++- 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 recipes-emulators/mame/files/0003-bx-float4_neon.h-Remove-neon_reinterpret-use-casts.patch rename recipes-emulators/mame/{mame_0174.bb => mame_0176.bb} (87%) diff --git a/recipes-emulators/mame/files/0003-bx-float4_neon.h-Remove-neon_reinterpret-use-casts.patch b/recipes-emulators/mame/files/0003-bx-float4_neon.h-Remove-neon_reinterpret-use-casts.patch new file mode 100644 index 0000000..fc22d87 --- /dev/null +++ b/recipes-emulators/mame/files/0003-bx-float4_neon.h-Remove-neon_reinterpret-use-casts.patch @@ -0,0 +1,39 @@ +From b3db2aa6b762711015f2d504006b44e698a4de0f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 31 Jul 2016 01:36:52 +0200 +Subject: [PATCH] bx/float4_neon.h: Remove neon_reinterpret, use casts +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +See gcc6; + +commit da08cb5504f0b791ada8889b16620055672999b8 +Author: alalaw01 +Date: Thu Feb 4 14:49:02 2016 +0000 + + [ARM] Remove neon_reinterpret, use casts + +Signed-off-by: Andreas Müller +--- + 3rdparty/bx/include/bx/float4_neon.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/3rdparty/bx/include/bx/float4_neon.h b/3rdparty/bx/include/bx/float4_neon.h +index c3545d0..811c4ff 100644 +--- a/3rdparty/bx/include/bx/float4_neon.h ++++ b/3rdparty/bx/include/bx/float4_neon.h +@@ -6,6 +6,10 @@ + #ifndef BX_FLOAT4_NEON_H_HEADER_GUARD + #define BX_FLOAT4_NEON_H_HEADER_GUARD + ++/* gcc6 hacks */ ++#define __builtin_neon_vreinterpretv4sfv4si(a) ((float4_t)a) ++#define __builtin_neon_vreinterpretv4siv4sf(a) ((_i32x4_t)a) ++ + namespace bx + { + typedef __builtin_neon_sf float4_t __attribute__( (__vector_size__(16) ) ); +-- +2.5.5 + diff --git a/recipes-emulators/mame/mame_0174.bb b/recipes-emulators/mame/mame_0176.bb similarity index 87% rename from recipes-emulators/mame/mame_0174.bb rename to recipes-emulators/mame/mame_0176.bb index b2182a4..cd48c70 100644 --- a/recipes-emulators/mame/mame_0174.bb +++ b/recipes-emulators/mame/mame_0176.bb @@ -8,9 +8,10 @@ SRC_URI = " \ https://github.com/mamedev/mame/archive/${BPN}${PV}.tar.gz \ file://0001-use-pkg-config-for-finding-sdl-library-settings.patch \ file://0002-float4_neon.h-refactor-buildins-for-later-gcc-s.patch \ + file://0003-bx-float4_neon.h-Remove-neon_reinterpret-use-casts.patch \ " -SRC_URI[md5sum] = "299b77d7be7e303c8bfc71237fcf84b2" -SRC_URI[sha256sum] = "249dc43d27f435b47e6bd30754eaa2b52253da37aa04498cb9cc6df5c2041cfa" +SRC_URI[md5sum] = "b2aed655e1ea2bccf26bf96f189257ba" +SRC_URI[sha256sum] = "e8837ae9c21ac6ca289c0214747a6d7ff7cc4683b9426377f42cda318fddcb25" S = "${WORKDIR}/${BPN}-${BPN}${PV}"