aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-06-17 17:39:07 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-23 01:14:05 +0700
commit7956ae7b8861d37dfa9856b786a8c5bc5ded5223 (patch)
treeecfda97b6deb799e0ce37f6c776debfd3784db8f /system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild
parentc251ff3cbfce7fa49f6216b157f83e3b43fdb12e (diff)
system/nvidia-legacy340-kernel: Patch for the newer kernels.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild')
-rw-r--r--system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild b/system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild
index 96454d09f9887..780091fdc4b48 100644
--- a/system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild
+++ b/system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild
@@ -77,6 +77,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+
(cd kernel || exit 1
make SYSSRC=$KERNELPATH module || exit 1
cd uvm