aboutsummaryrefslogtreecommitdiff
path: root/databases/py-psycopg/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-psycopg/files/patch-configure')
-rw-r--r--databases/py-psycopg/files/patch-configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/py-psycopg/files/patch-configure b/databases/py-psycopg/files/patch-configure
new file mode 100644
index 000000000000..27198b055786
--- /dev/null
+++ b/databases/py-psycopg/files/patch-configure
@@ -0,0 +1,18 @@
+--- configure.orig Wed Sep 4 16:16:18 2002
++++ configure Wed Sep 4 16:16:59 2002
+@@ -1316,11 +1316,11 @@
+
+ echo $ac_n "checking PostgreSQL type catalog""... $ac_c" 1>&6
+ echo "configure:1319: checking PostgreSQL type catalog" >&5
+-if test -d $PGSQLDIR/catalog ; then
+- PGSQLTYPES="$PGSQLDIR/catalog/pg_type.h"
++if test -d $PGSQLDIR/pgsql/catalog ; then
++ PGSQLTYPES="$PGSQLDIR/psql/catalog/pg_type.h"
+ else
+- if test -d $PGSQLDIR/server/catalog ; then
+- PGSQLTYPES="$PGSQLDIR/server/catalog/pg_type.h"
++ if test -d $PGSQLDIR/psql/server/catalog ; then
++ PGSQLTYPES="$PGSQLDIR/psql/server/catalog/pg_type.h"
+ fi
+ fi
+ test -z "$PGSQLTYPES" && { echo "configure: error: pg_type.h not found" 1>&2; exit 1; }