aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libiodbc
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2007-01-18 01:18:12 +0800
committeritetcu <itetcu@FreeBSD.org>2007-01-18 01:18:12 +0800
commitb1a05e78d5694a2aa45266e1da5250787950e899 (patch)
tree48a6a8bb23b08768c6fc7cc5bfd47c21cafb3f3b /databases/libiodbc
parent6aa513870e36d735f0942764e5c73f5e95763bdd (diff)
downloadfreebsd-ports-gnome-b1a05e78d5694a2aa45266e1da5250787950e899.tar.gz
freebsd-ports-gnome-b1a05e78d5694a2aa45266e1da5250787950e899.tar.zst
freebsd-ports-gnome-b1a05e78d5694a2aa45266e1da5250787950e899.zip
- Update to version 3.52.5
PR: ports/107994 Submitted by: KATO Tsuguru
Diffstat (limited to 'databases/libiodbc')
-rw-r--r--databases/libiodbc/Makefile3
-rw-r--r--databases/libiodbc/distinfo6
-rw-r--r--databases/libiodbc/files/patch-iodbc__trace__trace.c22
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;