aboutsummaryrefslogtreecommitdiff
path: root/system/vhba-module/vhba-module.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@slackbuilds.org>2011-03-17 23:44:10 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-03-20 14:07:56 -0500
commit21cbd209c6bda1507a527c0908b18ef909e2899f (patch)
tree5563adb7bfe3c568f8c3cda2e389b11c085889df /system/vhba-module/vhba-module.SlackBuild
parent93d4ecdfe4d14f2047c48405d6fdfac214080c98 (diff)
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 991d64688097..8f8e3d154eb2 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