summaryrefslogtreecommitdiffstats
path: root/system/cdfs/cdfs-splice_not_sendfile.patch
diff options
context:
space:
mode:
author Robby Workman <rw@rlworkman.net>2010-05-12 23:33:23 +0200
committer Michiel van Wessem <michiel@slackbuilds.org>2010-05-12 23:33:23 +0200
commite0fc19fe860da2354b860cb5264bca60ec56961b (patch)
treec6e81b06ebf8fd3a5d339f6d6e0176fd93631f78 /system/cdfs/cdfs-splice_not_sendfile.patch
parent04b831eeaeac8a803e1a90ec84201255964b86ef (diff)
downloadslackbuilds-e0fc19fe860da2354b860cb5264bca60ec56961b.tar.gz
slackbuilds-e0fc19fe860da2354b860cb5264bca60ec56961b.tar.xz
system/cdfs: Added to 12.2 repository
Diffstat (limited to 'system/cdfs/cdfs-splice_not_sendfile.patch')
-rw-r--r--system/cdfs/cdfs-splice_not_sendfile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/cdfs/cdfs-splice_not_sendfile.patch b/system/cdfs/cdfs-splice_not_sendfile.patch
new file mode 100644
index 0000000000..f38cfb803a
--- /dev/null
+++ b/system/cdfs/cdfs-splice_not_sendfile.patch
@@ -0,0 +1,12 @@
+diff -Nur a/cddata.c b/cddata.c
+--- a/cddata.c 2008-12-08 07:21:37.000000000 -0600
++++ b/cddata.c 2009-02-18 17:34:17.679224488 -0600
+@@ -82,7 +82,7 @@
+ .mmap = generic_file_mmap
+ #else
+ .mmap = generic_file_readonly_mmap,
+- .sendfile = generic_file_sendfile
++ .splice_read = generic_file_splice_read
+ #endif
+ };
+