diff options
Diffstat (limited to 'x11/qt3-libs/patches')
-rw-r--r-- | x11/qt3-libs/patches/patch-bb | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/x11/qt3-libs/patches/patch-bb b/x11/qt3-libs/patches/patch-bb index 3fd0c2564d2..e41fcc06c68 100644 --- a/x11/qt3-libs/patches/patch-bb +++ b/x11/qt3-libs/patches/patch-bb @@ -1,24 +1,22 @@ -$NetBSD: patch-bb,v 1.1 2002/10/28 10:46:07 drochner Exp $ +$NetBSD: patch-bb,v 1.2 2003/02/04 18:09:16 skrll 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 +--- src/sql/drivers/psql/qsql_psql.cpp.orig Wed Jan 8 14:24:52 2003 ++++ src/sql/drivers/psql/qsql_psql.cpp +@@ -44,14 +44,14 @@ + #if defined(DEBUG) + # undef DEBUG + #endif -#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 @@ + // PostgreSQL header <catalog/pg_type.h> redefines errno erroneously. #if defined(errno) - #undef errno + # undef errno #endif + #define errno qt_psql_errno -#include <catalog/pg_type.h> +#include <pgsql/server/catalog/pg_type.h> - #if defined(Q_CC_MSVC) - #pragma warning(default: 4273) - #endif + #undef errno + #include <math.h> + |