Accepting request 851866 from home:oertel:branches:hardware

- add patch fwts-fix-non-acpi.patch
  fix build on non-acpi platforms like ppc64le and s390x 

- Update to version 20.11.00:
  * See provided changelog for detailed list of changes

OBS-URL: https://build.opensuse.org/request/show/851866
OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=113
This commit is contained in:
Martin Pluskal 2020-11-30 16:06:05 +00:00 committed by Git OBS Bridge
parent 84d1e320c3
commit adf560d283
6 changed files with 46 additions and 11 deletions

3
fwts-20.11.00.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e90ec57a30f4be90ad2a5a196e6a85bb0524d4ae4a6e49d7401f94d8429cb2d7
size 3847709

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41dfe922c64abf16a4831a6f726c61e7016b4098a975f6d0579ffef146127d2e
size 3835316

23
fwts-fix-non-acpi.patch Normal file
View File

@ -0,0 +1,23 @@
--- fwts-20.11.00/src/acpica/source/tools/acpiexec/aecommon.h 2020/11/27 15:57:25 1.1
+++ fwts-20.11.00/src/acpica/source/tools/acpiexec/aecommon.h 2020/11/27 15:57:41
@@ -201,11 +201,18 @@
} INIT_FILE_ENTRY;
+#if defined(__x86_64__) || defined(__x86_64) || defined(__i386__) || defined(__i386) || defined(__aarch64__) || defined(__riscv)
+extern BOOLEAN AcpiGbl_IgnoreErrors;
+extern UINT8 AcpiGbl_RegionFillValue;
+#else
+#define VOID_FUNC(name) void name(void);
+extern VOID_FUNC(AcpiGbl_IgnoreErrors)
+extern VOID_FUNC(AcpiGbl_RegionFillValue)
+#endif
+
extern BOOLEAN AcpiGbl_UseLocalFaultHandler;
extern BOOLEAN AcpiGbl_VerboseHandlers;
-extern BOOLEAN AcpiGbl_IgnoreErrors;
extern BOOLEAN AcpiGbl_AbortLoopOnTimeout;
-extern UINT8 AcpiGbl_RegionFillValue;
extern INIT_FILE_ENTRY *AcpiGbl_InitEntries;
extern UINT32 AcpiGbl_InitFileLineCount;
extern UINT8 AcpiGbl_UseHwReducedFadt;

View File

@ -1,8 +1,6 @@
Index: fwts-20.03.00/src/acpica/source/compiler/aslutils.c --- fwts-20.11.00/src/acpica/source/compiler/aslutils.c 2020/11/27 16:29:34 1.1
=================================================================== +++ fwts-20.11.00/src/acpica/source/compiler/aslutils.c 2020/11/27 16:29:50
--- fwts-20.03.00.orig/src/acpica/source/compiler/aslutils.c @@ -596,7 +596,7 @@
+++ fwts-20.03.00/src/acpica/source/compiler/aslutils.c
@@ -596,7 +596,7 @@ UtDisplayOneSummary (
/* Compiler name and version number */ /* Compiler name and version number */
FlPrintFile (FileId, "%s version %X [%s]\n\n", FlPrintFile (FileId, "%s version %X [%s]\n\n",

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Nov 30 14:47:38 CET 2020 - ro@suse.de
- add patch fwts-fix-non-acpi.patch
fix build on non-acpi platforms like ppc64le and s390x
-------------------------------------------------------------------
Fri Nov 27 17:33:03 CET 2020 - ro@suse.de
- Update to version 20.11.00:
* See provided changelog for detailed list of changes
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 22 11:51:22 UTC 2020 - Martin Pluskal <mpluskal@suse.com> Tue Sep 22 11:51:22 UTC 2020 - Martin Pluskal <mpluskal@suse.com>

View File

@ -17,15 +17,17 @@
Name: fwts Name: fwts
Version: 20.09.00 Version: 20.11.00
Release: 0 Release: 0
Summary: Firmware Test Suite Summary: Firmware Test Suite
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
URL: https://wiki.ubuntu.com/Kernel/Reference/fwts URL: https://wiki.ubuntu.com/Kernel/Reference/fwts
Source0: http://fwts.ubuntu.com/release/%{name}-V%{version}.tar.gz Source0: http://fwts.ubuntu.com/release/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE fwts-no-compiletime.patch # PATCH-FIX-OPENSUSE fwts-no-compiletime.patch
Patch1: fwts-no-compiletime.patch Patch1: fwts-no-compiletime.patch
# PATCH-FIX-OPENSUSE fwts-fix-non-acpi.patch
Patch2: fwts-fix-non-acpi.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: bison BuildRequires: bison
@ -54,7 +56,7 @@ will give some form of advice on how to fix issues or workaround firmware
issues. issues.
%prep %prep
%autosetup -c %{name}-%{version} -p1 %autosetup -p1
%build %build
find . -name Makefile.am -exec sed -i "s|-Werror||g" {} + find . -name Makefile.am -exec sed -i "s|-Werror||g" {} +