[packages/xorg-driver-video-nvidia-legacy-304xx] - fix typo in patch - rel 4
baggins
baggins at pld-linux.org
Fri May 12 21:51:14 CEST 2017
commit c2d4c68e0bbe6ee96a54e3468f6fedbeed123004
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 12 21:50:59 2017 +0200
- fix typo in patch
- rel 4
linux-4.11.patch | 6 +++---
xorg-driver-video-nvidia-legacy-304xx.spec | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/xorg-driver-video-nvidia-legacy-304xx.spec b/xorg-driver-video-nvidia-legacy-304xx.spec
index 2d9ee30..b1a93ab 100644
--- a/xorg-driver-video-nvidia-legacy-304xx.spec
+++ b/xorg-driver-video-nvidia-legacy-304xx.spec
@@ -25,7 +25,7 @@ exit 1
%define no_install_post_check_so 1
-%define rel 3
+%define rel 4
%define mname nvidia-legacy-304xx
%define pname xorg-driver-video-%{mname}
Summary: Linux Drivers for nVidia GeForce/Quadro Chips
diff --git a/linux-4.11.patch b/linux-4.11.patch
index 6094fc9..a6317c2 100644
--- a/linux-4.11.patch
+++ b/linux-4.11.patch
@@ -103,7 +103,7 @@
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
static int nv_drm_unload(
-+else
++#else
+static void nv_drm_unload(
+#endif
struct drm_device *dev
@@ -115,7 +115,7 @@
{
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
return 0;
-+else
++#else
+ return;
+#endif
}
@@ -127,7 +127,7 @@
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
return -ENODEV;
-+else
++#else
+ return;
+#endif
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-nvidia-legacy-304xx.git/commitdiff/c2d4c68e0bbe6ee96a54e3468f6fedbeed123004
More information about the pld-cvs-commit
mailing list