patches/strace/4.5.19/120-fix-disabled-largefile-syscalls.patch
changeset 1613 c776557f7aac
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/strace/4.5.19/120-fix-disabled-largefile-syscalls.patch	Wed Oct 28 19:00:34 2009 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +diff -durN strace-4.5.19.orig/syscall.c strace-4.5.19/syscall.c
     1.5 +--- strace-4.5.19.orig/syscall.c	2009-10-28 18:47:18.000000000 +0100
     1.6 ++++ strace-4.5.19/syscall.c	2009-10-28 18:47:18.000000000 +0100
     1.7 +@@ -110,6 +110,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 + };