On Mon, Aug 08, 2005 at 05:05:29PM +0200, Andreas Jochens wrote: > The attached updated patch contains an additional fix which changes backend.c > to use the new location 'postgresql/8.0' instead of 'postgresql' for > the libpq-fe.h include file.
> diff -urN ../tmp-orig/libnss-pgsql-1.3/src/backend.c ./src/backend.c > --- ../tmp-orig/libnss-pgsql-1.3/src/backend.c 2005-03-25 > 22:25:41.000000000 +0000 > +++ ./src/backend.c 2005-08-08 14:54:44.000000000 +0000 > @@ -9,7 +9,7 @@ > */ > > #include "nss-pgsql.h" > -#include <postgresql/libpq-fe.h> > +#include <postgresql/8.0/libpq-fe.h> > #include <stdlib.h> > #include <string.h> > #include <stdio.h> Andreas, please don't recommend this to maintainers; the postgresql maintainers have previously indicated the preferred interface for portably detecting the postgresql header path: http://lists.debian.org/debian-devel/2005/06/msg00500.html Hard-coding postgresql/8.0/ in the C files is just going to cause unnecessary work once 8.0 is no longer current. -- Steve Langasek postmodern programmer
signature.asc
Description: Digital signature