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

29 lines
1 KiB
Text

$NetBSD: patch-bs,v 1.1 2006/10/21 11:53:13 agc Exp $
--- ./rex/rexd.C.orig 2002-11-28 16:20:55.000000000 +0000
+++ ./rex/rexd.C
@@ -213,7 +213,7 @@ rexsess::attach (svccb *sbp)
* file descriptor off to the child process and discard any extra
* data we have read and buffered). */
xhinfo::xon (xs, false);
- rexd_attach_arg *argp = sbp->template getarg<rexd_attach_arg> ();
+ rexd_attach_arg *argp = sbp->getarg<rexd_attach_arg> ();
sfs_hash sid;
ref<sfs_sessinfo> si = New refcounted<sfs_sessinfo>;
@@ -283,13 +283,13 @@ rexclient::dispatch (svccb *sbp)
}
rexd_spawn_res res;
vNew rexsess (&credtab[authno],
- sbp->template getarg<rexd_spawn_arg> (), &res);
+ sbp->getarg<rexd_spawn_arg> (), &res);
sbp->replyref (res);
break;
}
case REXD_ATTACH:
{
- rexd_attach_arg *argp = sbp->template getarg<rexd_attach_arg> ();
+ rexd_attach_arg *argp = sbp->getarg<rexd_attach_arg> ();
if (rexsess *sp = sesstab[argp->sessid]) {
sp->attach (sbp);
delete this;