diff options
author | drochner <drochner@pkgsrc.org> | 2002-10-28 10:46:06 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-10-28 10:46:06 +0000 |
commit | 4cd510ca6ceaca2de631a6c94e698e1541ec9475 (patch) | |
tree | 2268f83fb92f159d5ed8df28b4d45412b06f3a66 /x11/qt3-libs/patches | |
parent | 74741eae4af3dba2759ef5b429d373e8d2b018f7 (diff) | |
download | pkgsrc-4cd510ca6ceaca2de631a6c94e698e1541ec9475.tar.gz |
give the postgesql database adapter a chance to compile
(not in this pkg)
(centralized patches suck)
Diffstat (limited to 'x11/qt3-libs/patches')
-rw-r--r-- | x11/qt3-libs/patches/patch-ba | 13 | ||||
-rw-r--r-- | x11/qt3-libs/patches/patch-bb | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/x11/qt3-libs/patches/patch-ba b/x11/qt3-libs/patches/patch-ba new file mode 100644 index 00000000000..c63d2c67872 --- /dev/null +++ b/x11/qt3-libs/patches/patch-ba @@ -0,0 +1,13 @@ +$NetBSD: patch-ba,v 1.1 2002/10/28 10:46:07 drochner Exp $ + +--- src/sql/drivers/psql/qsql_psql.h.orig Sun Oct 27 22:21:30 2002 ++++ src/sql/drivers/psql/qsql_psql.h Sun Oct 27 22:21:51 2002 +@@ -40,7 +40,7 @@ + #include <qsqlresult.h> + #include <qsqlfield.h> + #include <qsqldriver.h> +-#include <libpq-fe.h> ++#include <pgsql/libpq-fe.h> + + #ifdef QT_PLUGIN + #define Q_EXPORT_SQLDRIVER_PSQL diff --git a/x11/qt3-libs/patches/patch-bb b/x11/qt3-libs/patches/patch-bb new file mode 100644 index 00000000000..3fd0c2564d2 --- /dev/null +++ b/x11/qt3-libs/patches/patch-bb @@ -0,0 +1,24 @@ +$NetBSD: patch-bb,v 1.1 2002/10/28 10:46:07 drochner Exp $ + +--- src/sql/drivers/psql/qsql_psql.cpp.orig Sun Oct 27 22:25:40 2002 ++++ src/sql/drivers/psql/qsql_psql.cpp Sun Oct 27 22:26:34 2002 +@@ -41,8 +41,8 @@ + #include <qdatetime.h> + #include <qpointarray.h> + #undef DEBUG // the PostgreSQL headers redefines this +-#include <postgres.h> +-#include <libpq/libpq-fs.h> ++#include <pgsql/server/postgres.h> ++#include <pgsql/libpq/libpq-fs.h> + #if defined(Q_CC_MSVC) + #pragma warning(disable: 4273) // '_errno' : inconsistent dll linkage. dllexport assumed + #endif +@@ -51,7 +51,7 @@ + #if defined(errno) + #undef errno + #endif +-#include <catalog/pg_type.h> ++#include <pgsql/server/catalog/pg_type.h> + #if defined(Q_CC_MSVC) + #pragma warning(default: 4273) + #endif |