diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
commit | f96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch) | |
tree | edb17ec2c4ea13c5acb1c7350957a249a820e28d /rsync/rsync-2.6.2/gettimeofday.patch | |
parent | b6588aa6851fb220cedc387d21c51513ef8d67f4 (diff) |
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'rsync/rsync-2.6.2/gettimeofday.patch')
-rw-r--r-- | rsync/rsync-2.6.2/gettimeofday.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/rsync/rsync-2.6.2/gettimeofday.patch b/rsync/rsync-2.6.2/gettimeofday.patch index e69de29bb2..9248866c56 100644 --- a/rsync/rsync-2.6.2/gettimeofday.patch +++ b/rsync/rsync-2.6.2/gettimeofday.patch @@ -0,0 +1,18 @@ +--- rsync-2.6.2/configure.in 2004-07-09 14:32:16.000000000 +0200 ++++ rsync-2.6.2/configure.in 2004-07-09 14:31:26.000000000 +0200 +@@ -539,11 +539,12 @@ + fi + + AC_CACHE_CHECK([if gettimeofday takes tz argument],rsync_cv_HAVE_GETTIMEOFDAY_TZ,[ +-AC_TRY_RUN([ ++AC_TRY_COMPILE([ + #include <sys/time.h> + #include <unistd.h> +-main() { struct timeval tv; exit(gettimeofday(&tv, NULL));}], +- rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes,rsync_cv_HAVE_GETTIMEOFDAY_TZ=no,rsync_cv_HAVE_GETTIMEOFDAY_TZ=cross)]) ++], ++[struct timeval tv; exit(gettimeofday(&tv, NULL));], ++ rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes,rsync_cv_HAVE_GETTIMEOFDAY_TZ=no)]) + if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then + AC_DEFINE(HAVE_GETTIMEOFDAY_TZ, 1, [ ]) + fi |