summaryrefslogtreecommitdiff
path: root/databases/iodbc/patches
diff options
context:
space:
mode:
authorobache <obache>2007-01-12 17:27:20 +0000
committerobache <obache>2007-01-12 17:27:20 +0000
commitd59cece39cc8ea509dce639c70a8c8a3f3148cb3 (patch)
tree2369b70c733d1f20fdcb5bf39311ef31d397984f /databases/iodbc/patches
parent1b957f3ae3ea23c1ead32028b29120938de4da1d (diff)
downloadpkgsrc-d59cece39cc8ea509dce639c70a8c8a3f3148cb3.tar.gz
Update iodbc to 3.52.5.
Pointed out in PR 35383. Jan 05 2007, V3.52.5: * Added support for FileDSN * Added support for Connection Pooling * Added check for tracefile size * Call ODBC 2.x functions in driver if application uses ODBC 2.x only calls * Fixed problem parsing driver result in SQLSetStmtAttr * Fixed source code readability * Fixed bug in overwriting driver name * Fixed check for /Library/ODBC for Mac OS X * Fixed prototypes * Rewrote bootstrap script and configure summary * Use localtime_r in tracing when available * Fixed build issues with Mac OS X * Small code cleanups and fixes Jan 26 2006, V3.52.4: * Added support for Mac OS X 10.4 Universal kit (ppc, ppc64 and i386) * Removed dependency between iodbc and iodbcinst shared libraries * Cleanup Mac OS X build process * Clarify LGPL license conditions * Fixed problem with error on subsequent SQLExecute statements * Fixed problem building 64bit GUI components * Fixed compiler warnings * Fixed problem determining which compiler to use on AIX * Enabled SHLIB_PATH on HP/UX * Fixed problem using # as comment in odbc.ini file * Disabled --disable-odbc3 flag * Small code cleanups and fixes pkgsrc chages: Fix comment and descr, refrect current status.
Diffstat (limited to 'databases/iodbc/patches')
-rw-r--r--databases/iodbc/patches/patch-aa9
-rw-r--r--databases/iodbc/patches/patch-ab15
-rw-r--r--databases/iodbc/patches/patch-ac10
3 files changed, 10 insertions, 24 deletions
diff --git a/databases/iodbc/patches/patch-aa b/databases/iodbc/patches/patch-aa
index 792690cc8e8..7a0437e683e 100644
--- a/databases/iodbc/patches/patch-aa
+++ b/databases/iodbc/patches/patch-aa
@@ -1,11 +1,11 @@
-$NetBSD: patch-aa,v 1.3 2005/12/30 21:03:59 jlam Exp $
+$NetBSD: patch-aa,v 1.4 2007/01/12 17:27:20 obache Exp $
Rip out a completely non-standard and hokey way to determine if wchar_t
is a valid type.
---- include/sqltypes.h.orig 2005-10-08 07:42:02.000000000 -0400
+--- include/sqltypes.h.orig 2006-01-26 09:50:59.000000000 +0000
+++ include/sqltypes.h
-@@ -388,16 +388,7 @@ SQLGUID;
+@@ -393,17 +393,7 @@ SQLGUID;
typedef unsigned short SQLWCHAR;
#else
# include <stdlib.h>
@@ -14,7 +14,8 @@ is a valid type.
- defined(_WCHAR_T) || \
- defined(_WCHAR_T_DEFINED) || \
- defined(_WCHAR_T_DECLARED) || \
-- defined(_BSD_WCHAR_T_DEFINED_)
+- defined(_BSD_WCHAR_T_DEFINED_) || \
+- defined(_BSD_WCHAR_T_)
typedef wchar_t SQLWCHAR;
-# else
-# error Please make sure your system supports the wchar_t type
diff --git a/databases/iodbc/patches/patch-ab b/databases/iodbc/patches/patch-ab
deleted file mode 100644
index 8edae90032e..00000000000
--- a/databases/iodbc/patches/patch-ab
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2005/12/30 21:03:59 jlam Exp $
-
-By inspection, driverbuf is meant to be a character buffer.
-
---- iodbc/connect.c.orig 2005-11-04 08:14:52.000000000 -0500
-+++ iodbc/connect.c
-@@ -398,7 +398,7 @@ _iodbcdm_driverload (
- HPROC hproc;
- SQLRETURN retcode = SQL_SUCCESS;
- sqlstcode_t sqlstat = en_00000;
-- char *driverbuf[1024];
-+ char driverbuf[1024];
-
- if (path == NULL || ((char *) path)[0] == '\0')
- {
diff --git a/databases/iodbc/patches/patch-ac b/databases/iodbc/patches/patch-ac
index b61a86afe8c..026a0190a59 100644
--- a/databases/iodbc/patches/patch-ac
+++ b/databases/iodbc/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.1 2005/12/30 21:03:59 jlam Exp $
+$NetBSD: patch-ac,v 1.2 2007/01/12 17:27:20 obache Exp $
---- samples/Makefile.in.orig 2005-11-07 05:27:44.000000000 -0500
+--- samples/Makefile.in.orig 2007-01-05 12:54:29.000000000 +0000
+++ samples/Makefile.in
-@@ -566,9 +566,9 @@ uninstall-am: uninstall-binPROGRAMS unin
+@@ -572,9 +572,9 @@ uninstall-am: uninstall-binPROGRAMS unin
install-exec-hook:
@@ -12,6 +12,6 @@ $NetBSD: patch-ac,v 1.1 2005/12/30 21:03:59 jlam Exp $
+ $(mkinstalldirs) ${DESTDIR}${datadir}/examples/iodbc
+ cp $(srcdir)/iodbctest.c ${DESTDIR}${datadir}/examples/iodbc/iodbctest.c
+ cp $(srcdir)/Makefile.sample ${DESTDIR}${datadir}/examples/iodbc/Makefile
+ @DARWIN_TRUE@ -/usr/bin/lipo ${DESTDIR}${bindir}/iodbctest -remove ppc64 -output ${DESTDIR}${bindir}/iodbctest
+ @DARWIN_TRUE@ -/usr/bin/lipo ${DESTDIR}${bindir}/iodbctestw -remove ppc64 -output ${DESTDIR}${bindir}/iodbctestw
- uninstall-hook:
- rm -f ${DESTDIR}${pkgdatadir}/samples/iodbctest.c