summaryrefslogtreecommitdiffstats
path: root/system/cdfs/cdfs.SlackBuild
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2010-05-17 00:56:33 -0500
committer Robby Workman <rworkman@slackbuilds.org>2010-05-17 00:56:33 -0500
commita5beeb0a8566c6e8ca5dc9c9fec45fc76b30d517 (patch)
tree22a5d8e49ceb04a79768507f8db1929b8ffd4151 /system/cdfs/cdfs.SlackBuild
parenta30d9e3196a95101a19bfe98def1976a9d3b89be (diff)
downloadslackbuilds-a5beeb0a8566c6e8ca5dc9c9fec45fc76b30d517.tar.gz
slackbuilds-a5beeb0a8566c6e8ca5dc9c9fec45fc76b30d517.tar.xz
system/cdfs: Merge the good www repo version into git.
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