summaryrefslogtreecommitdiff
path: root/system/vhba-module/vhba-module.SlackBuild
diff options
context:
space:
mode:
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