+++ /dev/null
---- NVIDIA-Linux-x86_64-304.125-no-compat32/kernel/nv.c~ 2014-12-02 04:58:34.000000000 +0100
-+++ NVIDIA-Linux-x86_64-304.125-no-compat32/kernel/nv.c 2015-03-30 21:52:46.978945686 +0200
-@@ -2026,7 +2026,11 @@
- unsigned long i_arg
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)
-+ return nv_kern_ioctl(file->f_path.dentry->d_inode, file, cmd, i_arg);
-+#else
- return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
-+#endif
- }
-
- long nv_kern_compat_ioctl(
-@@ -2035,7 +2039,11 @@
- unsigned long i_arg
- )
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)
-+ return nv_kern_ioctl(file->f_path.dentry->d_inode, file, cmd, i_arg);
-+#else
- return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
-+#endif
- }
-
- /*
%define no_install_post_check_so 1
-%define rel 4
+%define rel 1
%define mname nvidia-legacy-304xx
%define pname xorg-driver-video-%{mname}
Summary: Linux Drivers for nVidia GeForce/Quadro Chips
Summary(hu.UTF-8): Linux meghajtók nVidia GeForce/Quadro chipekhez
Summary(pl.UTF-8): Sterowniki do kart graficznych nVidia GeForce/Quadro
Name: %{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel}
-Version: 304.125
+Version: 304.128
Release: %{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}}
Epoch: 1
License: nVidia Binary
Group: X11
Source0: http://us.download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}.run
-# Source0-md5: bc3b0ac291fa998d5109a6f7e94fb2d4
+# Source0-md5: be2b40a4dc3339b050a4f76ddd27e96c
Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-no-compat32.run
-# Source1-md5: 291d41ccdbcc08f752a38f9e0a7eeea0
+# Source1-md5: 6478e40ed87d9177cbfc3d0b6e39a051
Source2: xinitrc.sh
Source3: gl.pc.in
Source4: 10-nvidia.conf
Source5: 10-nvidia-modules.conf
Patch0: X11-driver-nvidia-GL.patch
Patch1: X11-driver-nvidia-desktop.patch
-Patch2: linux-3.19.patch
Patch3: linux-4.0.patch
URL: http://www.nvidia.com/object/unix.html
BuildRequires: rpmbuild(macros) >= 1.701
%endif
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%patch3 -p1
%build