summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSibren Vasse2018-06-17 03:22:43 +0200
committerSibren Vasse2018-06-17 03:23:53 +0200
commitaa367534225c54c609620a205744e3807510b96d (patch)
tree332ad0b6a9979e73d2513b927a0dcc57045d7986 /PKGBUILD
parent6a8418dd8b93c7d5001afbf0831da188f77ee279 (diff)
downloadaur-aa367534225c54c609620a205744e3807510b96d.tar.gz
Fix compilation with linux 4.18-rc1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f6cb5cba69eb..2d3fc4b04b66 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=nvidia-beta-dkms
pkgver=396.24
-pkgrel=1
+pkgrel=2
pkgdesc="NVIDIA kernel module sources (DKMS) - BETA version"
arch=('x86_64')
url="http://www.nvidia.com/"
@@ -22,7 +22,8 @@ conflicts=('nvidia')
options=('!strip')
install=${pkgname}.install
_pkg="NVIDIA-Linux-x86_64-$pkgver-no-compat32"
-source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run"
+drm-control-allow.patch)
sha256sums=('41b80d2a4519ac78ac17c02fec976256d2ba5c9618640d2a9be9cb70685b2a9c')
prepare() {
@@ -35,6 +36,7 @@ prepare() {
sh ${_pkg}.run --extract-only
cd ${_pkg}/kernel
# patches here
+ patch -p2 -i "${srcdir}/drm-control-allow.patch"
# Update dkms.conf
sed -e "s/__VERSION_STRING/${pkgver}/" \