diff options
author | Edward Tjörnhammar <ed@cflags.cc> | 2016-05-20 13:05:41 +0200 |
---|---|---|
committer | Edward Tjörnhammar <ed@cflags.cc> | 2016-05-20 13:14:31 +0200 |
commit | f7aed7a00d6d35268754004b361dd5767e88fbeb (patch) | |
tree | 722fa58d6a9c4af9251bcb3737989da373af485a /pkgs/os-specific/linux/ati-drivers/patches/15.9-sep_printf.patch | |
parent | 2d6d731f246fa93ce89cac8bd4c78f45c15a38fe (diff) | |
download | nixpkgs-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar nixpkgs-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar.gz nixpkgs-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar.bz2 nixpkgs-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar.lz nixpkgs-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar.xz nixpkgs-f7aed7a00d6d35268754004b361dd5767e88fbeb.tar.zst nixpkgs-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/patches/15.9-sep_printf.patch')
-rw-r--r-- | pkgs/os-specific/linux/ati-drivers/patches/15.9-sep_printf.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/ati-drivers/patches/15.9-sep_printf.patch b/pkgs/os-specific/linux/ati-drivers/patches/15.9-sep_printf.patch new file mode 100644 index 00000000000..3e4e8d6499a --- /dev/null +++ b/pkgs/os-specific/linux/ati-drivers/patches/15.9-sep_printf.patch @@ -0,0 +1,11 @@ +--- a/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-09-14 15:14:36.000000000 -0400 ++++ b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-09-14 16:18:58.000000000 -0400 +@@ -649,6 +649,8 @@ static int firegl_major_proc_read(struct + *eof = 1; + + len = snprintf(buf, request, "%d\n", major); ++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0) ++ seq_printf(m, "%d\n", major); + #else + len = seq_printf(m, "%d\n", major); + #endif |