1.1 --- a/patches/strace/4.5.15/strace-fix-disabled-largefile-syscalls.patch Sat Jul 14 17:02:05 2007 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,21 +0,0 @@
1.4 ---- strace-4.5.15.orig/syscall.c 2007-01-29 17:23:38.000000000 +0100
1.5 -+++ strace-4.5.15/syscall.c 2007-01-29 18:02:17.000000000 +0100
1.6 -@@ -125,6 +125,18 @@
1.7 - #define TP TRACE_PROCESS
1.8 - #define TS TRACE_SIGNAL
1.9 -
1.10 -+#ifndef HAVE_STATFS64
1.11 -+/*
1.12 -+ * Ugly hacks for systems that do not have LFS
1.13 -+ */
1.14 -+
1.15 -+#define sys_truncate64 sys_truncate
1.16 -+#define sys_ftruncate64 sys_ftruncate
1.17 -+#define sys_getdents64 sys_getdents
1.18 -+#define sys_statfs64 sys_statfs
1.19 -+#define sys_fstatfs64 sys_fstatfs
1.20 -+#endif
1.21 -+
1.22 - static const struct sysent sysent0[] = {
1.23 - #include "syscallent.h"
1.24 - };