Add in a patch to fix incorrect exit status from iasl
Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
parent
5fcb15b704
commit
0acf62d4a9
@ -42,6 +42,7 @@ Patch14: str-trunc-warn.patch
|
||||
Patch15: ptr-cast.patch
|
||||
Patch16: aslcodegen.patch
|
||||
Patch17: facp.patch
|
||||
Patch18: badexit.patch
|
||||
|
||||
BuildRequires: bison patchutils flex gcc
|
||||
|
||||
@ -111,6 +112,7 @@ gzip -dc %{SOURCE1} | tar -x --strip-components=1 -f -
|
||||
%patch15 -p1 -b .ptr-cast
|
||||
%patch16 -p1 -b .aslcodegen
|
||||
%patch17 -p1 -b .facp
|
||||
%patch18 -p1 -b .badexit
|
||||
|
||||
cp -p %{SOURCE2} README.Fedora
|
||||
cp -p %{SOURCE3} iasl.1
|
||||
@ -197,18 +199,6 @@ cd tests
|
||||
# misc tests
|
||||
./run-misc-tests.sh %{buildroot}%{_bindir} %{version}
|
||||
|
||||
# Template tests
|
||||
cd templates
|
||||
make
|
||||
if [ -f diff.log ]
|
||||
then
|
||||
if [ -s diff.log ]
|
||||
then
|
||||
exit 1 # implies errors occurred
|
||||
fi
|
||||
fi
|
||||
cd ..
|
||||
|
||||
%pre
|
||||
if [ -e %{_bindir}/acpixtract-acpica ]
|
||||
then
|
||||
@ -239,8 +229,11 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 27 2019 Al Stone <ahs3@redhat.com> - 20190816-1
|
||||
* Tue Oct 29 2019 Al Stone <ahs3@redhat.com> - 20190816-1
|
||||
- Update to 20190816 source tree, including patch refeshes.
|
||||
- Add a patch to fix a non-zero exit from iasl -T ALL that actually succeeds
|
||||
- Remove the "template" tests; they have been subsumed by aslts.sh as they
|
||||
should be
|
||||
|
||||
* Thu Oct 24 2019 Al Stone <ahs3@redhat.com> - 20190703-1
|
||||
- Update to 20190703 source tree, including patch refeshes.
|
||||
|
17
badexit.patch
Normal file
17
badexit.patch
Normal file
@ -0,0 +1,17 @@
|
||||
When iasl is invoked with 'iasl -T ALL', and everything works correctly,
|
||||
it still exits with a non-zero value. Exit with zero if all is well.
|
||||
|
||||
Signed-off-by: Al Stone <ahs3@redhat.com>
|
||||
|
||||
diff -Naur acpica-unix2-20190816/source/compiler/asloptions.c acpica-unix2-20190816.fix/source/compiler/asloptions.c
|
||||
--- acpica-unix2-20190816/source/compiler/asloptions.c 2019-08-16 09:01:30.000000000 -0600
|
||||
+++ acpica-unix2-20190816.fix/source/compiler/asloptions.c 2019-10-29 15:52:40.987156555 -0600
|
||||
@@ -111,7 +111,7 @@
|
||||
{
|
||||
exit (-1);
|
||||
}
|
||||
- exit (1);
|
||||
+ exit (0);
|
||||
}
|
||||
|
||||
/* Next parameter must be the input filename */
|
Loading…
Reference in New Issue
Block a user