[arch-commits] Commit in nvidia-340xx-lts/trunk (PKGBUILD fs52243.patch)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Oct 2 11:54:11 UTC 2017


    Date: Monday, October 2, 2017 @ 11:54:10
  Author: svenstaro
Revision: 306546

upgpkg: nvidia-340xx-lts 340.104-1

Modified:
  nvidia-340xx-lts/trunk/PKGBUILD
Deleted:
  nvidia-340xx-lts/trunk/fs52243.patch

---------------+
 PKGBUILD      |   12 ++++--------
 fs52243.patch |   14 --------------
 2 files changed, 4 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-02 11:45:51 UTC (rev 306545)
+++ PKGBUILD	2017-10-02 11:54:10 UTC (rev 306546)
@@ -2,9 +2,9 @@
 # Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=nvidia-340xx-lts
-pkgver=340.102
+pkgver=340.104
 _extramodules=extramodules-4.9-lts
-pkgrel=13
+pkgrel=1
 pkgdesc="NVIDIA drivers for linux-lts"
 arch=('i686' 'x86_64')
 url="http://www.nvidia.com/"
@@ -14,12 +14,10 @@
 license=('custom')
 install=${pkgname}.install
 options=(!strip)
-source=('fs52243.patch')
 source_i686+=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run")
 source_x86_64+=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
-md5sums=('4b9b61bbcaaea4a99a6abe4a13309016')
-md5sums_i686=('61aad6a98238bc61466e6a9e392cfd08')
-md5sums_x86_64=('81e720487caa2823586b32659da9acc1')
+md5sums_i686=('42e9c98e156f6ac2658ee526d796a428')
+md5sums_x86_64=('efbd37cde63d50f657d55a6f2b321142')
 
 [[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
 [[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
@@ -28,8 +26,6 @@
     sh ${_pkg}.run --extract-only
     cd "${_pkg}"
     # patches here
-
-    patch -Np0 < "${srcdir}"/fs52243.patch
 }
 
 build() {

Deleted: fs52243.patch
===================================================================
--- fs52243.patch	2017-10-02 11:45:51 UTC (rev 306545)
+++ fs52243.patch	2017-10-02 11:54:10 UTC (rev 306546)
@@ -1,14 +0,0 @@
---- kernel/nv-drm.c	2016-12-15 12:41:26.000000000 +0100
-+++ kernel/nv-drm.c	2016-12-15 12:58:48.000000000 +0100
-@@ -115,7 +115,11 @@
- };
- 
- static struct drm_driver nv_drm_driver = {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+    .driver_features = DRIVER_GEM | DRIVER_PRIME | DRIVER_LEGACY,
-+#else
-     .driver_features = DRIVER_GEM | DRIVER_PRIME,
-+#endif
-     .load = nv_drm_load,
-     .unload = nv_drm_unload,
-     .fops = &nv_drm_fops,



More information about the arch-commits mailing list