about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorPatrick Hilhorst <git@hilhorst.be>2018-06-05 20:06:09 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-06-05 20:06:09 +0200
commit8a999d15ebfb929a5f5fc5b08be6a23848f29710 (patch)
treecf66628aec57e9e5bc61ef9b3305e19a5e7c737d /pkgs/development/compilers
parenta581c10acab775776b66285dee70ab8e9eddc9af (diff)
downloadnixlib-8a999d15ebfb929a5f5fc5b08be6a23848f29710.tar
nixlib-8a999d15ebfb929a5f5fc5b08be6a23848f29710.tar.gz
nixlib-8a999d15ebfb929a5f5fc5b08be6a23848f29710.tar.bz2
nixlib-8a999d15ebfb929a5f5fc5b08be6a23848f29710.tar.lz
nixlib-8a999d15ebfb929a5f5fc5b08be6a23848f29710.tar.xz
nixlib-8a999d15ebfb929a5f5fc5b08be6a23848f29710.tar.zst
nixlib-8a999d15ebfb929a5f5fc5b08be6a23848f29710.zip
iasl: integrate upstream patch for acpica/acpica#387 (#41481)
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/iasl/default.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/compilers/iasl/default.nix b/pkgs/development/compilers/iasl/default.nix
index 535b1a33d13e..b923f7f65192 100644
--- a/pkgs/development/compilers/iasl/default.nix
+++ b/pkgs/development/compilers/iasl/default.nix
@@ -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