aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild
diff options
context:
space:
mode:
authorEdward Koenig <kingbeowulf@gmail.com>2013-11-11 21:38:15 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-12 01:25:01 -0600
commitc6a1476bf976a1296ccd7880662fabdd9da8f305 (patch)
tree8b19555d2885e5e9a6f69a3e3df5ce368dcc354b /system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild
parent7a348a26de11d1c3db2f44d703c98d5300ae007a (diff)
system/nvidia-legacy96-kernel: Patched to build on recent kernels
Thanks to Arch Linux for the patches. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild')
-rw-r--r--system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild b/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild
index cb34b2296ff8..bf80710c749e 100644
--- a/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild
+++ b/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for nvidia-legacy96-kernel
# Copyright 2007-2011 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2013 Edward Koenig, Vancouver, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -76,6 +77,10 @@ chmod -R u+w,go+r-w,a-s .
cd usr/src/nv/ || exit 1
+# backported patches courtesy of https://aur.archlinux.org/packages/nvidia-96xx/
+patch -p1 -i $CWD/patches/173.14.36-37.patch || exit 1
+patch -p1 -i $CWD/patches/173.14.37-38.patch || exit 1
+
make SYSSRC=$KERNELPATH module || exit 1
mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video