summarylogtreecommitdiffstats
path: root/4.3-kolasa-seq_printf.patch
diff options
context:
space:
mode:
authorVi0L02015-12-13 20:47:56 +0100
committerVi0L02015-12-13 20:47:56 +0100
commitd08c07222be06036a2d73ee1d50bb31c27154646 (patch)
tree7b46add0c6e30f8c189e89080141655cc2b3fb81 /4.3-kolasa-seq_printf.patch
parentf7b885c9b88094b12220602de3095269442403cd (diff)
downloadaur-d08c07222be06036a2d73ee1d50bb31c27154646.tar.gz
adding new patch from crimson + removing gcc49 dependency + adding initial grsec kernel support
Diffstat (limited to '4.3-kolasa-seq_printf.patch')
-rw-r--r--4.3-kolasa-seq_printf.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/4.3-kolasa-seq_printf.patch b/4.3-kolasa-seq_printf.patch
new file mode 100644
index 000000000000..6cd08a93acad
--- /dev/null
+++ b/4.3-kolasa-seq_printf.patch
@@ -0,0 +1,16 @@
+--- 15.9/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-09-09 00:57:14.000000000 +0200
++++ 15.9b/common/lib/modules/fglrx/build_mod/firegl_public.c 2015-11-02 21:02:06.124639919 +0100
+@@ -623,8 +623,13 @@
+
+ len = snprintf(buf, request, "%d\n", major);
+ #else
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0)
++ seq_printf(m, "%d\n", major);
++ len = 0;
++#else
+ len = seq_printf(m, "%d\n", major);
+ #endif
++#endif
+
+ KCL_DEBUG1(FN_FIREGL_PROC, "return len=%i\n",len);
+