summaryrefslogtreecommitdiffstats
path: root/system/vhba-module/vhba-module.SlackBuild
diff options
context:
space:
mode:
author Niels Horn2011-03-18 03:44:10 +0100
committer Robby Workman2011-03-20 20:07:56 +0100
commit21cbd209c6bda1507a527c0908b18ef909e2899f (patch)
tree5563adb7bfe3c568f8c3cda2e389b11c085889df /system/vhba-module/vhba-module.SlackBuild
parent93d4ecdfe4d14f2047c48405d6fdfac214080c98 (diff)
downloadslackbuilds-21cbd209c6bda1507a527c0908b18ef909e2899f.tar.gz
system/vhba-module: Included patch for kernel 2.6.37.x
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/vhba-module/vhba-module.SlackBuild')
-rw-r--r--system/vhba-module/vhba-module.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/system/vhba-module/vhba-module.SlackBuild b/system/vhba-module/vhba-module.SlackBuild
index 991d646880..8f8e3d154e 100644
--- a/system/vhba-module/vhba-module.SlackBuild
+++ b/system/vhba-module/vhba-module.SlackBuild
@@ -24,11 +24,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Maintained as of version 20100822 by Niels Horn <niels.horn@gmail.com>
-# Revision date: 2010/11/20
+# Revision date: 2011/03/17
PRGNAM=vhba-module
VERSION=${VERSION:-20100822}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -58,6 +58,13 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Patch from upstream for kernels 2.6.37.x
+# (thanks to Melvin Xavier for pointing me to this)
+patch -p2 < $CWD/vhba-module_v730_SCSI.patch
+
+# Patch from upstream to stop building on warnings
+patch -p2 < $CWD/vhba-module_v735_Werror.patch
+
# Use -j1 to avoid problems if larger number of jobs is defined in MAKEFLAGS
make -j1 KERNELRELEASE=$KERNEL