ladybird/Ports/acpica-tools/package.sh
Tim Schumacher 1875d373e5 Ports/acpica-tools: Don't treat warnings as errors
This also removes existing patches that were trying to fix warnings
one-by-one.

Note that the patch making `CurrentSp` static was incorrect, the
variable needs to be on the stack for us to retrieve the current stack
address.
2023-09-09 11:28:59 -06:00

21 lines
617 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=acpica-tools
version='R06_28_23'
workdir="acpica-${version}"
files=(
"https://github.com/acpica/acpica/archive/refs/tags/${version}.tar.gz#2248799b7ca08a7711ac87d31924354ed49047507607d033bd327ba861ec4d31"
)
build() {
run make iasl
run make acpixtract
# FIXME: Make "run make acpiexec" to work
run make acpihelp
run make acpisrc
run make acpibin
}
# acpica contains unknown warning flags (on Clang) and is generally littered with warnings,
# some of them intentional. Make sure that we at least don't error on them.
export NOWERROR='TRUE'