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 | |
parent | cbde7ac9208374b009216af18d48d3cb256dbb07 (diff) | |
download | ports-2a92043ffae53b767d8005bc3c74ce949124eb0e.tar.gz ports-2a92043ffae53b767d8005bc3c74ce949124eb0e.zip |
Notes
Diffstat (limited to 'databases/libiodbc')
-rw-r--r-- | databases/libiodbc/Makefile | 3 | ||||
-rw-r--r-- | databases/libiodbc/distinfo | 6 | ||||
-rw-r--r-- | databases/libiodbc/files/patch-iodbc__trace__trace.c | 22 |
3 files changed, 26 insertions, 5 deletions
diff --git a/databases/libiodbc/Makefile b/databases/libiodbc/Makefile index c833ae438063..f6a3b82965ec 100644 --- a/databases/libiodbc/Makefile +++ b/databases/libiodbc/Makefile @@ -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} diff --git a/databases/libiodbc/distinfo b/databases/libiodbc/distinfo index 9a1a5b78d053..17efceacf011 100644 --- a/databases/libiodbc/distinfo +++ b/databases/libiodbc/distinfo @@ -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 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; |