iasl: integrate upstream patch for acpica/acpica#387 (#41481)
This commit is contained in:
parent
a581c10aca
commit
8a999d15eb
1 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, bison, flex}:
|
||||
{stdenv, fetchurl, fetchpatch, bison, flex}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "iasl-${version}";
|
||||
|
@ -11,14 +11,18 @@ stdenv.mkDerivation rec {
|
|||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-O3"
|
||||
# See: https://github.com/acpica/acpica/issues/387:
|
||||
"-Wno-error=format-overflow"
|
||||
];
|
||||
|
||||
buildFlags = "iasl";
|
||||
|
||||
buildInputs = [ bison flex ];
|
||||
|
||||
patches = fetchpatch {
|
||||
/* https://github.com/acpica/acpica/pull/389 */
|
||||
url = "https://github.com/acpica/acpica/commit/935ca65f7806a3ef9bd02a947e50f3a1f586ac67.patch";
|
||||
sha256 = "0jz4bakifphm425shbd1j99hldgy71m7scl8mwibm441d56l3ydf";
|
||||
};
|
||||
|
||||
installPhase =
|
||||
''
|
||||
install -d $out/bin
|
||||
|
|
Loading…
Reference in a new issue