Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/unixODBC/Makefile,v
retrieving revision 1.55
diff -u -p -r1.55 Makefile
--- Makefile	8 Jan 2009 05:29:51 -0000	1.55
+++ Makefile	26 Jan 2009 16:41:57 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	unixODBC
 PORTVERSION=	2.2.14
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	http://www.unixodbc.org/
 
Index: files/patch-exe-odbc-config.c
===================================================================
RCS file: files/patch-exe-odbc-config.c
diff -N files/patch-exe-odbc-config.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-exe-odbc-config.c	26 Jan 2009 16:41:45 -0000
@@ -0,0 +1,19 @@
+--- exe/odbc-config.c.orig	2008/05/20 13:43:47	1.7
++++ exe/odbc-config.c	2008/11/27 13:44:43	1.8
+@@ -66,12 +66,12 @@
+     printf( "#ifndef HAVE_LONG_LONG\n #define HAVE_LONG_LONG\n#endif\n" );
+ #endif
+ 
+-#ifdef ODBCINT64
+-    printf( "#ifndef ODBCINT64\n #define ODBCINT64\n#endif\n" );
++#ifdef ODBCINT64_TYPE
++    printf( "#ifndef ODBCINT64\n #define ODBCINT64 %s\n#endif\n", ODBCINT64_TYPE );
+ #endif
+ 
+-#ifdef UODBCINT64
+-    printf( "#ifndef UODBCINT64\n #define UODBCINT64\n#endif\n" );
++#ifdef UODBCINT64_TYPE
++    printf( "#ifndef UODBCINT64\n #define UODBCINT64 %s\n#endif\n", UODBCINT64_TYPE );
+ #endif
+ 
+ #ifdef DISABLE_INI_CACHING
Index: files/patch-include-sqltypes.h
===================================================================
RCS file: files/patch-include-sqltypes.h
diff -N files/patch-include-sqltypes.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-include-sqltypes.h	26 Jan 2009 16:51:13 -0000
@@ -0,0 +1,35 @@
+--- include/sqltypes.h.orig	2008/10/31 16:22:18	1.26
++++ include/sqltypes.h	2008/11/27 13:44:43	1.27
+@@ -49,7 +49,7 @@
+  */
+ 
+ #ifndef SIZEOF_LONG_INT
+-#include <unixodbc_conf.h>
++#include "unixodbc_conf.h"
+ #endif
+ 
+ #ifndef SIZEOF_LONG_INT
+@@ -371,10 +371,14 @@
+ # if (SIZEOF_LONG_INT == 8)
+ #   define ODBCINT64	    long
+ #   define UODBCINT64	unsigned long
++#   define ODBCINT64_TYPE	    "long"
++#   define UODBCINT64_TYPE	"unsigned long"
+ # else
+ #  ifdef HAVE_LONG_LONG
+ #   define ODBCINT64	    long long
+ #   define UODBCINT64	unsigned long long
++#   define ODBCINT64_TYPE	    "long long"
++#   define UODBCINT64_TYPE	"unsigned long long"
+ #  else
+ /*
+  * may fail in some cases, but what else can we do ?
+@@ -391,6 +395,8 @@
+ };
+ #   define ODBCINT64	    struct __bigint_struct
+ #   define UODBCINT64	struct __bigint_struct_u
++#   define ODBCINT64_TYPE	    "struct __bigint_struct"
++#   define UODBCINT64_TYPE	"struct __bigint_struct_u"
+ #  endif
+ # endif
+ #endif
