From f7aed7a00d6d35268754004b361dd5767e88fbeb Mon Sep 17 00:00:00 2001 From: Edward Tjörnhammar Date: Fri, 20 May 2016 13:05:41 +0200 Subject: ati-drivers: migrate some patches from gentoo ati-drivers https://anaongit.gentoo.org/git/repo/gentoo.git @ 52dac7bdbb16f2353b15137165b69056034d7ad0 and parents for further source information. --- .../linux/ati-drivers/patches/15.9-sep_printf.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pkgs/os-specific/linux/ati-drivers/patches/15.9-sep_printf.patch (limited to 'pkgs/os-specific/linux/ati-drivers/patches/15.9-sep_printf.patch') 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 -- cgit 1.4.1