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