diff options
Diffstat (limited to 'abs/core/nvidia')
-rw-r--r-- | abs/core/nvidia/PKGBUILD | 11 | ||||
-rw-r--r-- | abs/core/nvidia/fix-abi.patch | 12 |
2 files changed, 17 insertions, 6 deletions
diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD index a7ba696..929bf6d 100644 --- a/abs/core/nvidia/PKGBUILD +++ b/abs/core/nvidia/PKGBUILD @@ -5,19 +5,19 @@ pkgbase=nvidia pkgname=(nvidia nvidia-dkms) -pkgver=364.19 +pkgver=370.28 _extramodules=extramodules-4.4-ARCH -pkgrel=6 +pkgrel=1 pkgdesc="NVIDIA drivers for linux" arch=('i686' 'x86_64') url="http://www.nvidia.com/" -makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 'linux-headers>=4.4' 'linux-headers<4.6') +makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 'linux-headers>=4.4' 'linux-headers<4.5') license=('custom') options=('!strip') 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_i686=('8a4015213c4a8f1c80e9520d04a32a7b') -md5sums_x86_64=('ad7a0b1855b3913390fb75b4cc3a26dc') +md5sums_i686=('7d3e1c691cd53852f422a93169268178') +md5sums_x86_64=('3bcd9a132e50a17b846869f1c57b9c75') [[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" [[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" @@ -25,7 +25,6 @@ md5sums_x86_64=('ad7a0b1855b3913390fb75b4cc3a26dc') prepare() { sh "${_pkg}.run" --extract-only cd "${_pkg}" - # patches here cp -a kernel kernel-dkms cd kernel-dkms diff --git a/abs/core/nvidia/fix-abi.patch b/abs/core/nvidia/fix-abi.patch new file mode 100644 index 0000000..5a3f8df --- /dev/null +++ b/abs/core/nvidia/fix-abi.patch @@ -0,0 +1,12 @@ +diff -u -r kernel/nvidia-drm/nvidia-drm-fence.c kernel-patched/nvidia-drm/nvidia-drm-fence.c +--- kernel/nvidia-drm/nvidia-drm-fence.c 2016-08-09 01:43:19.000000000 +0200 ++++ kernel-patched/nvidia-drm/nvidia-drm-fence.c 2016-08-25 14:31:34.419655564 +0200 +@@ -325,7 +325,7 @@ + struct nvidia_drm_gem_object *nv_gem; + }; + +-static void nvidia_drm_gem_prime_soft_fence_event ++static void NVKMS_KAPI_CALL nvidia_drm_gem_prime_soft_fence_event + ( + void *dataPtr, + NvU32 dataU32 |