tag 441679 patch thanks Lucas Nussbaum <[EMAIL PROTECTED]> (10/09/2007): > cc -fPIC -DPIC -Wall -D_GNU_SOURCE -I/usr/include/postgresql -I/usr/include > -c -o pam_get_service.o pam_get_service.c > pam_get_service.c: In function 'pam_get_service': > pam_get_service.c:10: error: 'NULL' undeclared (first use in this function) > pam_get_service.c:10: error: (Each undeclared identifier is reported only once > pam_get_service.c:10: error: for each function it appears in.) > make[1]: *** [pam_get_service.o] Error 1 > make[1]: Leaving directory `/build/user/pam-pgsql-0.5.2' > make: *** [build-stamp] Error 2
Given that there's an memset declaration in security/pam_client.h, I guess you may want to use it, hence the patch. Your package then builds fine; tagging accordingly. Cheers, -- Cyril Brulebois
--- pam-pgsql-0.5.2/pam_get_service.c~ 2007-09-13 09:27:02.000000000 +0200 +++ pam-pgsql-0.5.2/pam_get_service.c 2007-09-13 09:27:12.000000000 +0200 @@ -3,6 +3,7 @@ */ /* $Id: pam_get_service.c,v 1.2 2000/06/25 10:01:41 ljb Exp $ */ +#include <security/pam_client.h> #include <security/pam_modules.h> const char *pam_get_service(pam_handle_t *pamh)
pgpYdu6RwYx8r.pgp
Description: PGP signature