diff --git a/acpica-tools.spec b/acpica-tools.spec index f7fa55c..f13be71 100644 --- a/acpica-tools.spec +++ b/acpica-tools.spec @@ -1,6 +1,6 @@ Name: acpica-tools Version: 20190509 -Release: 1%{?dist} +Release: 2%{?dist} Summary: ACPICA tools for the development and debug of ACPI tables License: GPLv2 @@ -237,6 +237,9 @@ fi %changelog +* Mon May 13 2019 Al Stone - 20190509-2 +- Added an arm7hl specific fix to the gcc9 corrections. + * Sat May 11 2019 Al Stone - 20190509-1 - Update to 20190509 source tree, including patch refeshes. diff --git a/gcc9.patch b/gcc9.patch index cd190a6..8d6904f 100644 --- a/gcc9.patch +++ b/gcc9.patch @@ -63,3 +63,17 @@ diff -Naur acpica-unix2-20190108/source/compiler/aslcodegen.c acpica-unix2-20190 /* OEM Revision */ +diff -Naur acpica-unix2-20190509.orig/source/include/platform/aclinux.h acpica-unix2-20190509/source/include/platform/aclinux.h +--- acpica-unix2-20190509.orig/source/include/platform/aclinux.h 2019-05-13 10:15:12.878784098 -0600 ++++ acpica-unix2-20190509/source/include/platform/aclinux.h 2019-05-13 10:33:52.505004418 -0600 +@@ -231,6 +231,10 @@ + #define __cdecl + #endif + ++#ifdef __ARM_ARCH_7__ ++#undef ACPI_MISALIGNMENT_NOT_SUPPORTED ++#endif ++ + #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ + #define ACPI_BIG_ENDIAN + #endif