about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/ati-drivers/default.nix
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2016-05-20 13:05:41 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2016-05-20 13:14:31 +0200
commitf7aed7a00d6d35268754004b361dd5767e88fbeb (patch)
tree722fa58d6a9c4af9251bcb3737989da373af485a /pkgs/os-specific/linux/ati-drivers/default.nix
parent2d6d731f246fa93ce89cac8bd4c78f45c15a38fe (diff)
downloadnixlib-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar
nixlib-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar.gz
nixlib-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar.bz2
nixlib-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar.lz
nixlib-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar.xz
nixlib-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar.zst
nixlib-f7aed7a00d6d35268754004b361dd5767e88fbeb.zip
ati-drivers: migrate some patches from gentoo ati-drivers
https://anaongit.gentoo.org/git/repo/gentoo.git @ 52dac7bdbb16f2353b15137165b69056034d7ad0
and parents for further source information.
Diffstat (limited to 'pkgs/os-specific/linux/ati-drivers/default.nix')
-rw-r--r--pkgs/os-specific/linux/ati-drivers/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/ati-drivers/default.nix b/pkgs/os-specific/linux/ati-drivers/default.nix
index a4f8b707c084..e5eb9b8c6c3c 100644
--- a/pkgs/os-specific/linux/ati-drivers/default.nix
+++ b/pkgs/os-specific/linux/ati-drivers/default.nix
@@ -65,7 +65,14 @@ stdenv.mkDerivation rec {
     curlOpts = "--referer http://support.amd.com/en-us/download/desktop?os=Linux+x86_64";
   };
 
-  patchPhaseSamples = "patch -p2 < ${./patch-samples.patch}";
+  patchPhaseSamples = "patch -p2 < ${./patches/patch-samples.patch}";
+  patches = [
+    ./patches/15.12-xstate-fp.patch
+    ./patches/15.9-kcl_str.patch
+    ./patches/15.9-mtrr.patch
+    ./patches/15.9-preempt.patch
+    ./patches/15.9-sep_printf.patch
+  ];
 
   buildInputs =
     [ xorg.libXrender xorg.libXext xorg.libX11 xorg.libXinerama xorg.libSM
@@ -101,7 +108,7 @@ stdenv.mkDerivation rec {
   # appear in /run/opengl-driver/lib which get's added to LD_LIBRARY_PATH
 
   extraDRIlibs = [ xorg.libXrandr.out xorg.libXrender.out xorg.libXext.out
-                   xorg.libX11.out xorg.libXinerama.out xorg.libSM.out 
+                   xorg.libX11.out xorg.libXinerama.out xorg.libSM.out
                    xorg.libICE.out ];
 
   inherit mesa; # only required to build the examples