diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-02-22 13:00:51 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-02-22 13:00:51 +0200 |
commit | 235172f53ead3667e1ea9e9a665caab732584a48 (patch) | |
tree | 8bf95e4bfa8b9473f4d9a0d011e5eaad2a2a5f09 /x11-drivers/nvidia-drivers | |
parent | 9bead8a623206cc8940e107fc9caf04409bfb6fc (diff) |
Added x11-drivers/*
Diffstat (limited to 'x11-drivers/nvidia-drivers')
-rw-r--r-- | x11-drivers/nvidia-drivers/files/nvidia-drivers-3.19.patch | 20 | ||||
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-304.125.ebuild | 4 |
2 files changed, 24 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-3.19.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-3.19.patch new file mode 100644 index 00000000..3cdaa598 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-drivers-3.19.patch @@ -0,0 +1,20 @@ +--- a/kernel/nv.c ++++ b/kernel/nv.c +@@ -2026,7 +2026,7 @@ long nv_kern_unlocked_ioctl( + unsigned long i_arg + ) + { +- return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg); ++ return nv_kern_ioctl(file->f_path.dentry->d_inode, file, cmd, i_arg); + } + + long nv_kern_compat_ioctl( +@@ -2035,7 +2035,7 @@ long nv_kern_compat_ioctl( + unsigned long i_arg + ) + { +- return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg); ++ return nv_kern_ioctl(file->f_path.dentry->d_inode, file, cmd, i_arg); + } + + /* diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-304.125.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-304.125.ebuild index 3a119d3f..4a60d0f0 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-304.125.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-304.125.ebuild @@ -128,6 +128,10 @@ src_prepare() { /usr/$(get_libdir)/libnvidia-opencl.so EOF + if kernel_is ge 3 19 0; then + epatch "${FILESDIR}/${PN}-3.19.patch" + fi + # Allow user patches so they can support RC kernels and whatever else epatch_user } |