pkgsrc/x11/qt3-libs/patches/patch-bb
joerg bc8bf3e7f6 Adjust Qt 3.3 PostgreSQL patches to work with all versions. Drop the
requirement of 7.3, it compiles fine with all versions in pkgsrc (and
should work with them). Bump the revision to annotate the possibly
changed dependency.
2005-11-01 15:20:50 +00:00

21 lines
622 B
Text

$NetBSD: patch-bb,v 1.5 2005/11/01 15:20:51 joerg Exp $
--- src/sql/drivers/psql/qsql_psql.cpp.orig 2004-03-10 13:29:45.000000000 +0100
+++ src/sql/drivers/psql/qsql_psql.cpp
@@ -47,14 +47,14 @@
#if defined(DEBUG)
# undef DEBUG
#endif
-#include <postgres.h>
+#include <postgresql/server/postgres.h>
#include <libpq/libpq-fs.h>
// PostgreSQL header <catalog/pg_type.h> redefines errno erroneously.
#if defined(errno)
# undef errno
#endif
#define errno qt_psql_errno
-#include <catalog/pg_type.h>
+#include <postgresql/server/catalog/pg_type.h>
#undef errno
QPtrDict<QSqlDriverExtension> *qSqlDriverExtDict();