aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorbofh <bofh@FreeBSD.org>2015-03-14 20:58:53 +0800
committerbofh <bofh@FreeBSD.org>2015-03-14 20:58:53 +0800
commit8dd5ced2baa101864dcae7924cfc9c0ef07a836f (patch)
treeddbc5e9843089ed8d1d6632ee957d810932a23eb /databases
parentd4049ff4160bbd974f35b7dcf468d7f6c88771b9 (diff)
downloadfreebsd-ports-gnome-8dd5ced2baa101864dcae7924cfc9c0ef07a836f.tar.gz
freebsd-ports-gnome-8dd5ced2baa101864dcae7924cfc9c0ef07a836f.tar.zst
freebsd-ports-gnome-8dd5ced2baa101864dcae7924cfc9c0ef07a836f.zip
databases/postgresql-odbc: Update version 09.01.0200=>09.03.0400
- Take MAINTAINERSHIP Approved by: bapt marino (implicit)
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-odbc/Makefile5
-rw-r--r--databases/postgresql-odbc/distinfo4
-rw-r--r--databases/postgresql-odbc/files/patch-odbcapi.c8
-rw-r--r--databases/postgresql-odbc/files/patch-psqlodbc.h6
4 files changed, 11 insertions, 12 deletions
diff --git a/databases/postgresql-odbc/Makefile b/databases/postgresql-odbc/Makefile
index d72da7387a4c..8c94acfb2dfe 100644
--- a/databases/postgresql-odbc/Makefile
+++ b/databases/postgresql-odbc/Makefile
@@ -1,15 +1,14 @@
# $FreeBSD$
PORTNAME= postgresql
-PORTVERSION= 09.01.0200
-PORTREVISION= 2
+PORTVERSION= 09.03.0400
CATEGORIES= databases
MASTER_SITES= PGSQL/odbc/versions/src
PKGNAMESUFFIX= -odbc
DISTNAME= psqlodbc-${PORTVERSION}
DIST_SUBDIR= postgresql
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= PostgreSQL ODBC driver
LICENSE= LGPL20
diff --git a/databases/postgresql-odbc/distinfo b/databases/postgresql-odbc/distinfo
index 533fb41a0474..4537f100469b 100644
--- a/databases/postgresql-odbc/distinfo
+++ b/databases/postgresql-odbc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (postgresql/psqlodbc-09.01.0200.tar.gz) = 89c230f5068dcd17d5c6dab37d13ed03525040da534cc7f49564dceba00a9c2c
-SIZE (postgresql/psqlodbc-09.01.0200.tar.gz) = 749712
+SHA256 (postgresql/psqlodbc-09.03.0400.tar.gz) = de77dfa89dba0a159afc57b2e312ca6e9075dd92b761c7cc700c0450ba02b56b
+SIZE (postgresql/psqlodbc-09.03.0400.tar.gz) = 821228
diff --git a/databases/postgresql-odbc/files/patch-odbcapi.c b/databases/postgresql-odbc/files/patch-odbcapi.c
index 5f5e472a9bb5..c4075adb6cbb 100644
--- a/databases/postgresql-odbc/files/patch-odbcapi.c
+++ b/databases/postgresql-odbc/files/patch-odbcapi.c
@@ -1,10 +1,10 @@
--- odbcapi.c.orig 2009-01-26 23:29:21.000000000 +0600
+++ odbcapi.c 2009-01-26 23:30:15.000000000 +0600
-@@ -1121,11 +1121,7 @@
- HSTMT hstmt,
+@@ -1150,11 +1150,7 @@
+ SQLExtendedFetch(HSTMT hstmt,
SQLUSMALLINT fFetchType,
SQLLEN irow,
--#if defined(WITH_UNIXODBC) && (SIZEOF_VOID_P < 8)
+-#if defined(WITH_UNIXODBC) && (SIZEOF_LONG != 8)
- SQLROWSETSIZE *pcrow,
-#else
SQLULEN *pcrow,
@@ -12,7 +12,7 @@
SQLUSMALLINT *rgfRowStatus)
{
RETCODE ret;
-@@ -1135,17 +1131,7 @@
+@@ -1164,17 +1160,7 @@
ENTER_STMT_CS(stmt);
SC_clear_error(stmt);
StartRollbackState(stmt);
diff --git a/databases/postgresql-odbc/files/patch-psqlodbc.h b/databases/postgresql-odbc/files/patch-psqlodbc.h
index fe3ba9bd7cf4..f9e13812e950 100644
--- a/databases/postgresql-odbc/files/patch-psqlodbc.h
+++ b/databases/postgresql-odbc/files/patch-psqlodbc.h
@@ -1,10 +1,10 @@
--- psqlodbc.h.orig 2008-09-21 22:35:44.000000000 +0700
+++ psqlodbc.h 2009-01-26 23:19:02.000000000 +0600
-@@ -151,13 +151,8 @@
- #if (SIZEOF_VOID_P == 8)
+@@ -178,13 +178,8 @@
+ #if (SIZEOF_LONG == 8)
#define FORMAT_INTEGER "%d" /* SQLINTEGER */
#define FORMAT_UINTEGER "%u" /* SQLUINTEGER */
--#if defined(WITH_UNIXODBC) && !defined(BUILD_REAL_64_BIT_MODE)
+-#if defined(WITH_UNIXODBC) && defined(BUILD_LEGACY_64_BIT_MODE)
-#define FORMAT_LEN "%d" /* SQLLEN */
-#define FORMAT_ULEN "%u" /* SQLULEN */
-#else