summaryrefslogtreecommitdiff
path: root/system/cdfs/cdfs.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-17 07:49:43 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-16 23:07:09 -0500
commit90f6d063050adca351a006108c7e9059c30f83e0 (patch)
tree749bb6b4bc3097ad31bde568c43a1a7d2951c660 /system/cdfs/cdfs.SlackBuild
parent59e8bac381504a9520e8ade5e6bd154f8d6f6f95 (diff)
downloadslackbuilds-90f6d063050adca351a006108c7e9059c30f83e0.tar.gz
system/cdfs: Fixed build (included upstream patches)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/cdfs/cdfs.SlackBuild')
-rw-r--r--system/cdfs/cdfs.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/cdfs/cdfs.SlackBuild b/system/cdfs/cdfs.SlackBuild
index 41a092d327..9a43a3b4cb 100644
--- a/system/cdfs/cdfs.SlackBuild
+++ b/system/cdfs/cdfs.SlackBuild
@@ -23,11 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Maintained by markus reichelt <slackbuilds@mareichelt.de> 0xCCEEF115
+# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=cdfs
-VERSION=2.6.27
+VERSION=${VERSION:-2.6.27}
ARCH=$(uname -m)
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-"$(uname -r)"}
@@ -52,8 +53,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Include linux/sched.h in root.c
-patch -p1 < $CWD/cdfs-include_sched_h.diff
+# include new upstream patches
+patch -p1 < $CWD/cdfs-3.3.diff
make KDIR=/lib/modules/${KERNEL}/build