1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/strace/4.5.16/100-autoreconf.patch Sun May 08 14:14:40 2011 +0200
1.3 @@ -0,0 +1,77 @@
1.4 +diff -dur strace-4.5.16.orig/configure strace-4.5.16/configure
1.5 +--- strace-4.5.16.orig/configure 2007-01-11 23:23:33.000000000 +0100
1.6 ++++ strace-4.5.16/configure 2007-07-14 19:18:43.000000000 +0200
1.7 +@@ -5808,6 +5777,73 @@
1.8 +
1.9 + fi
1.10 +
1.11 ++echo "$as_me:$LINENO: checking for statfs64 in sys/(statfs|vfs).h" >&5
1.12 ++echo $ECHO_N "checking for statfs64 in sys/(statfs|vfs).h... $ECHO_C" >&6
1.13 ++if test "${ac_cv_type_statfs64+set}" = set; then
1.14 ++ echo $ECHO_N "(cached) $ECHO_C" >&6
1.15 ++else
1.16 ++ cat >conftest.$ac_ext <<_ACEOF
1.17 ++/* confdefs.h. */
1.18 ++_ACEOF
1.19 ++cat confdefs.h >>conftest.$ac_ext
1.20 ++cat >>conftest.$ac_ext <<_ACEOF
1.21 ++/* end confdefs.h. */
1.22 ++#ifdef LINUX
1.23 ++#include <linux/types.h>
1.24 ++#include <sys/statfs.h>
1.25 ++#else
1.26 ++#include <sys/vfs.h>
1.27 ++#endif
1.28 ++int
1.29 ++main ()
1.30 ++{
1.31 ++struct statfs64 st;
1.32 ++ ;
1.33 ++ return 0;
1.34 ++}
1.35 ++_ACEOF
1.36 ++rm -f conftest.$ac_objext
1.37 ++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.38 ++ (eval $ac_compile) 2>conftest.er1
1.39 ++ ac_status=$?
1.40 ++ grep -v '^ *+' conftest.er1 >conftest.err
1.41 ++ rm -f conftest.er1
1.42 ++ cat conftest.err >&5
1.43 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.44 ++ (exit $ac_status); } &&
1.45 ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1.46 ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.47 ++ (eval $ac_try) 2>&5
1.48 ++ ac_status=$?
1.49 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.50 ++ (exit $ac_status); }; } &&
1.51 ++ { ac_try='test -s conftest.$ac_objext'
1.52 ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1.53 ++ (eval $ac_try) 2>&5
1.54 ++ ac_status=$?
1.55 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.56 ++ (exit $ac_status); }; }; then
1.57 ++ ac_cv_type_statfs64=yes
1.58 ++else
1.59 ++ echo "$as_me: failed program was:" >&5
1.60 ++sed 's/^/| /' conftest.$ac_ext >&5
1.61 ++
1.62 ++ac_cv_type_statfs64=no
1.63 ++fi
1.64 ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.65 ++fi
1.66 ++
1.67 ++echo "$as_me:$LINENO: result: $ac_cv_type_statfs64" >&5
1.68 ++echo "${ECHO_T}$ac_cv_type_statfs64" >&6
1.69 ++if test "$ac_cv_type_statfs64" = yes
1.70 ++then
1.71 ++
1.72 ++cat >>confdefs.h <<\_ACEOF
1.73 ++#define HAVE_STATFS64 1
1.74 ++_ACEOF
1.75 ++
1.76 ++fi
1.77 ++
1.78 +
1.79 + { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
1.80 + echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }