1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Update to version 3.52.5

PR:		ports/107994
Submitted by:	KATO Tsuguru
This commit is contained in:
Ion-Mihai Tetcu 2007-01-17 17:18:12 +00:00
parent cbde7ac920
commit 2a92043ffa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182649
3 changed files with 26 additions and 5 deletions

View File

@ -9,8 +9,7 @@
# databases/unixODBC.
PORTNAME= libiodbc
PORTVERSION= 3.52.4
PORTREVISION= 2
PORTVERSION= 3.52.5
CATEGORIES= databases
MASTER_SITES= http://www.iodbc.org/downloads/iODBC/ \
${MASTER_SITE_SOURCEFORGE}

View File

@ -1,3 +1,3 @@
MD5 (libiodbc-3.52.4.tar.gz) = 65ddf72600ff5d15fcd6002e2ed36307
SHA256 (libiodbc-3.52.4.tar.gz) = 5532278a175649de2a5852085bc8cf509a88006e0653e65b1e518196ad6abc3f
SIZE (libiodbc-3.52.4.tar.gz) = 722305
MD5 (libiodbc-3.52.5.tar.gz) = 550234c4f9fbaf45e6e5d74c460dff0d
SHA256 (libiodbc-3.52.5.tar.gz) = 368b0ae7ae08d487dd53be399868530f767af9c91affd5da4cbfa89ff440d9b3
SIZE (libiodbc-3.52.5.tar.gz) = 752941

View File

@ -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;