pkgsrc/security/sfs/patches/patch-bh
agc 94df3e688c Update sfs to 0.7.2nb7
+ add support for gcc4
2006-10-21 11:53:13 +00:00

22 lines
838 B
Text

$NetBSD: patch-bh,v 1.1 2006/10/21 11:53:13 agc Exp $
--- ./agent/sfsauthmgr.C.orig 2002-10-08 21:05:01.000000000 +0100
+++ ./agent/sfsauthmgr.C
@@ -283,7 +283,7 @@ extauth::~extauth ()
void
authmgr::authinit (svccb *s)
{
- sfsagent_authinit_arg *aa = s->template getarg<sfsagent_authinit_arg> ();
+ sfsagent_authinit_arg *aa = s->getarg<sfsagent_authinit_arg> ();
authmeth *k = lookup_by_index (aa->ntries);
if (!k || aa->authinfo.type != SFS_AUTHINFO) {
@@ -298,7 +298,7 @@ authmgr::authinit (svccb *s)
void
authmgr::authmore (svccb *s)
{
- sfsagent_authmore_arg *aa = s->template getarg<sfsagent_authmore_arg> ();
+ sfsagent_authmore_arg *aa = s->getarg<sfsagent_authmore_arg> ();
sfs_hash dummy;
authmeth *k = asmgr.retrieve (aa->authinfo, aa->seqno, dummy);
if (!k || aa->authinfo.type != SFS_AUTHINFO) {