diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2007-01-17 17:18:12 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2007-01-17 17:18:12 +0000 |
commit | 2a92043ffae53b767d8005bc3c74ce949124eb0e (patch) | |
tree | e215e17e743b08fc34a798f29baeaf532d21ea4b /databases/libiodbc/files | |
parent | cbde7ac9208374b009216af18d48d3cb256dbb07 (diff) | |
download | ports-2a92043ffae53b767d8005bc3c74ce949124eb0e.tar.gz ports-2a92043ffae53b767d8005bc3c74ce949124eb0e.zip |
- Update to version 3.52.5
PR: ports/107994
Submitted by: KATO Tsuguru
Notes
Notes:
svn path=/head/; revision=182649
Diffstat (limited to 'databases/libiodbc/files')
-rw-r--r-- | databases/libiodbc/files/patch-iodbc__trace__trace.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/libiodbc/files/patch-iodbc__trace__trace.c b/databases/libiodbc/files/patch-iodbc__trace__trace.c new file mode 100644 index 000000000000..54449f40c238 --- /dev/null +++ b/databases/libiodbc/files/patch-iodbc__trace__trace.c @@ -0,0 +1,22 @@ +--- iodbc/trace/trace.c.orig Wed Jan 3 23:21:46 2007 ++++ iodbc/trace/trace.c Wed Jan 10 16:04:57 2007 +@@ -670,6 +670,10 @@ + extern char *odbcapi_symtab[]; + char *ptr = "invalid retcode"; + ++#ifdef HAVE_GETTIMEOFDAY ++ struct timeval tv; ++#endif ++ + /* + * Guard against tracefile getting too big + */ +@@ -684,8 +688,6 @@ + * Calculate timestamp + */ + #ifdef HAVE_GETTIMEOFDAY +- struct timeval tv; +- + gettimeofday (&tv, NULL); + tv.tv_sec -= starttime.tv_sec; + tv.tv_usec -= starttime.tv_usec; |