Ed Maste <ema...@freebsd.org> writes: > It looks like this broke mips: > > In file included from > /scratch/tmp/emaste/freebsd/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/key.h:29, > from > /scratch/tmp/emaste/freebsd/lib/libpam/modules/pam_ssh/pam_ssh.c:60: > /scratch/tmp/emaste/freebsd/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/sshkey.h:145: > warning: '__bounded__' attribute directive ignored
Please try the attached patch. I don't know if it fixes the issue, but it's a good idea either way. I'm trying to find out why gcc complains about this specific instance of __bounded__ but not about any of the 88 others in OpenSSH; the only lead I have so far is that pam_ssh uses a different WARNS level. DES -- Dag-Erling Smørgrav - d...@des.no
Index: lib/libpam/modules/pam_ssh/Makefile =================================================================== --- lib/libpam/modules/pam_ssh/Makefile (revision 296634) +++ lib/libpam/modules/pam_ssh/Makefile (working copy) @@ -7,7 +7,6 @@ MAN= pam_ssh.8 SRCS= pam_ssh.c -WARNS?= 3 CFLAGS+= -I${SSHDIR} -include ssh_namespace.h SRCS+= ssh_namespace.h Index: lib/libpam/modules/pam_ssh/pam_ssh.c =================================================================== --- lib/libpam/modules/pam_ssh/pam_ssh.c (revision 296634) +++ lib/libpam/modules/pam_ssh/pam_ssh.c (working copy) @@ -84,7 +84,9 @@ }; static const char *pam_ssh_agent = "/usr/bin/ssh-agent"; -static char *const pam_ssh_agent_argv[] = { "ssh_agent", "-s", NULL }; +static char str_ssh_agent[] = "ssh-agent"; +static char str_dash_s[] = "-s"; +static char *const pam_ssh_agent_argv[] = { str_ssh_agent, str_dash_s, NULL }; static char *const pam_ssh_agent_envp[] = { NULL }; /*
_______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"