aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2011-03-25 09:54:16 +0000
committerAlberto Villa <avilla@FreeBSD.org>2011-03-25 09:54:16 +0000
commitb140da0491b99a6a3107db5653e6b721705376e5 (patch)
treecfb1994d1b5d1db20e6f84ba80f69060c6410ad4 /databases
parent7d204cf1c4a47dbb632a49900e31c97935b3cee8 (diff)
downloadports-b140da0491b99a6a3107db5653e6b721705376e5.tar.gz
ports-b140da0491b99a6a3107db5653e6b721705376e5.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/qt4-mysql-plugin/Makefile1
-rw-r--r--databases/qt4-pgsql-plugin/Makefile1
-rw-r--r--databases/qt4-pgsql-plugin/files/patch-qsql_psql.cpp46
-rw-r--r--databases/qt4-pgsql-plugin/files/patch-qsql_psql.h12
4 files changed, 0 insertions, 60 deletions
diff --git a/databases/qt4-mysql-plugin/Makefile b/databases/qt4-mysql-plugin/Makefile
index 0faed52532ce..d7553face495 100644
--- a/databases/qt4-mysql-plugin/Makefile
+++ b/databases/qt4-mysql-plugin/Makefile
@@ -8,7 +8,6 @@
PORTNAME= qt4-${DB}-plugin
DISTVERSION= ${QT4_VERSION}
-PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= kde@FreeBSD.org
diff --git a/databases/qt4-pgsql-plugin/Makefile b/databases/qt4-pgsql-plugin/Makefile
index fdbb3a6328e2..ae8b81659e3d 100644
--- a/databases/qt4-pgsql-plugin/Makefile
+++ b/databases/qt4-pgsql-plugin/Makefile
@@ -7,7 +7,6 @@
#
PORTNAME= qt4-${DB}-plugin
-PORTREVISION= 1
DISTVERSION= ${QT4_VERSION}
CATEGORIES= databases
diff --git a/databases/qt4-pgsql-plugin/files/patch-qsql_psql.cpp b/databases/qt4-pgsql-plugin/files/patch-qsql_psql.cpp
deleted file mode 100644
index c674ae702ca0..000000000000
--- a/databases/qt4-pgsql-plugin/files/patch-qsql_psql.cpp
+++ /dev/null
@@ -1,46 +0,0 @@
---- ./src/sql/drivers/psql/qsql_psql.cpp 2010-09-10 11:05:25.000000000 +0200
-+++ ./src/sql/drivers/psql/qsql_psql.cpp 2010-11-03 12:37:55.966977333 +0100
-@@ -661,6 +661,17 @@
- break;
- }
- break;
-+ case 9:
-+ switch (vMin) {
-+ case 0:
-+ serverVersion = QPSQLDriver::Version9;
-+ break;
-+ default:
-+ serverVersion = QPSQLDriver::Version9;
-+ break;
-+ }
-+ break;
-+
- default:
- break;
- }
-@@ -852,7 +863,8 @@
- // This hack can dissapear once there is an API to query this sort of information.
- if (d->pro == QPSQLDriver::Version8 ||
- d->pro == QPSQLDriver::Version81 ||
-- d->pro == QPSQLDriver::Version82) {
-+ d->pro == QPSQLDriver::Version82 ||
-+ d->pro == QPSQLDriver::Version9) {
- transaction_failed = qstrcmp(PQcmdStatus(res), "ROLLBACK") == 0;
- }
-
-@@ -963,6 +975,7 @@
- case QPSQLDriver::Version8:
- case QPSQLDriver::Version81:
- case QPSQLDriver::Version82:
-+ case QPSQLDriver::Version9:
- stmt = QLatin1String("SELECT pg_attribute.attname, pg_attribute.atttypid::int, "
- "pg_class.relname "
- "FROM pg_attribute, pg_class "
-@@ -1046,6 +1059,7 @@
- case QPSQLDriver::Version8:
- case QPSQLDriver::Version81:
- case QPSQLDriver::Version82:
-+ case QPSQLDriver::Version9:
- stmt = QLatin1String("select pg_attribute.attname, pg_attribute.atttypid::int, "
- "pg_attribute.attnotnull, pg_attribute.attlen, pg_attribute.atttypmod, "
- "pg_attrdef.adsrc "
diff --git a/databases/qt4-pgsql-plugin/files/patch-qsql_psql.h b/databases/qt4-pgsql-plugin/files/patch-qsql_psql.h
deleted file mode 100644
index 28b3f53c7450..000000000000
--- a/databases/qt4-pgsql-plugin/files/patch-qsql_psql.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./src/sql/drivers/psql/qsql_psql.h 2010-09-10 11:05:25.000000000 +0200
-+++ ./src/sql/drivers/psql/qsql_psql.h 2010-11-03 12:36:16.380310668 +0100
-@@ -104,7 +104,8 @@
- Version74 = 10,
- Version8 = 11,
- Version81 = 12,
-- Version82 = 13
-+ Version82 = 13,
-+ Version9 = 14
- };
-
- explicit QPSQLDriver(QObject *parent=0);