aboutsummaryrefslogtreecommitdiff
path: root/system/cdfs/cdfs.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-05-22 21:34:14 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-23 23:21:41 -0500
commit91955a0b93aee5314fe8da13f24ea66d6cc5edbe (patch)
treea34ccc400a87ccd4cc345c045ba21dec418ecea1 /system/cdfs/cdfs.SlackBuild
parent8df6d037e57a5400ba488b41609f9fba0a9d71f2 (diff)
system/cdfs: Fixed build on newer userspace.
Diffstat (limited to 'system/cdfs/cdfs.SlackBuild')
-rw-r--r--system/cdfs/cdfs.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/system/cdfs/cdfs.SlackBuild b/system/cdfs/cdfs.SlackBuild
index 8fead234fc55..2d246ef6947b 100644
--- a/system/cdfs/cdfs.SlackBuild
+++ b/system/cdfs/cdfs.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=cdfs
VERSION=2.6.27
ARCH=$(uname -m)
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-"$(uname -r)"}
@@ -50,10 +50,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Thanks to "MrWeatherbee" from the Arch forums for the nudge on this :)
-# http://bbs.archlinux.org/viewtopic.php?id=38894
-# sendfile() is obsolete - use splice()
-patch -p1 < $CWD/cdfs-splice_not_sendfile.patch
+# Include linux/sched.h in root.c
+patch -p1 < $CWD/cdfs-include_sched_h.diff
make KDIR=/lib/modules/${KERNEL}/build