summaryrefslogtreecommitdiff
path: root/system/cdfs/cdfs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/cdfs/cdfs.SlackBuild')
-rw-r--r--system/cdfs/cdfs.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/cdfs/cdfs.SlackBuild b/system/cdfs/cdfs.SlackBuild
index 754c48d610..8fead234fc 100644
--- a/system/cdfs/cdfs.SlackBuild
+++ b/system/cdfs/cdfs.SlackBuild
@@ -50,6 +50,11 @@ 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
+
make KDIR=/lib/modules/${KERNEL}/build
mkdir -p $PKG/lib/modules/${KERNEL}/extra