Comment 6 for bug 19836

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 7 Aug 2005 15:03:56 +0200
From: Frank Lichtenheld <email address hidden>
To: Matt Kraai <email address hidden>, <email address hidden>
Subject: Re: Bug#315177: FTBFS: broken postgresql header include

On Mon, Jun 20, 2005 at 08:26:52AM -0700, Matt Kraai wrote:
> diff -ruN cyrus-sasl-2.1.19-old/plugins/sql.c cyrus-sasl-2.1.19/plugins/sql.c
> --- cyrus-sasl-2.1.19-old/plugins/sql.c 2004-06-30 12:31:11.000000000 -0700
> +++ cyrus-sasl-2.1.19/plugins/sql.c 2005-06-20 07:05:00.000000000 -0700
> @@ -180,7 +180,7 @@
> #endif /* HAVE_MYSQL */
>
> #ifdef HAVE_PGSQL
> -#include <libpq-fe.h>
> +#include <postgresql/8.0/libpq-fe.h>
>
> static void *_pgsql_open(char *host, char *port, int usessl,
> const char *user, const char *password,

Hmm, I guess the "correct" fix would be to fix configure.in to detect
this path (easiest with pg_config --includedir probably)

Gruesse,
--
Frank Lichtenheld <email address hidden>
www: http://www.djpig.de/