From 3f65f803c1a50cc5084e81709f115916aeef47cc Mon Sep 17 00:00:00 2001 From: Max Khon Date: Tue, 27 Jan 2009 05:13:10 +0000 Subject: Fix build with unixODBC 2.2.14: in 2.2.14 signatures of several functions (SQLExtendedFetch, SQLColAttribute, SQLColAttributeW) were fixed. Approved by: portmgr (marcus) --- databases/postgresql-odbc/files/patch-odbcapi30w.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 databases/postgresql-odbc/files/patch-odbcapi30w.c (limited to 'databases/postgresql-odbc/files/patch-odbcapi30w.c') diff --git a/databases/postgresql-odbc/files/patch-odbcapi30w.c b/databases/postgresql-odbc/files/patch-odbcapi30w.c new file mode 100644 index 000000000000..65e83482a4b5 --- /dev/null +++ b/databases/postgresql-odbc/files/patch-odbcapi30w.c @@ -0,0 +1,11 @@ +--- odbcapi30w.c.orig 2009-01-26 23:23:19.000000000 +0600 ++++ odbcapi30w.c 2009-01-26 23:24:07.000000000 +0600 +@@ -255,7 +255,7 @@ + SQLPOINTER pCharAttr, + SQLSMALLINT cbCharAttrMax, + SQLSMALLINT *pcbCharAttr, +-#if defined(WITH_UNIXODBC) || (defined(WIN32) && ! defined(_WIN64)) ++#if defined(WIN32) + SQLPOINTER pNumAttr + #else + SQLLEN *pNumAttr -- cgit v1.2.3