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

22 lines
760 B
Text

$NetBSD: patch-bf,v 1.1 2006/10/21 11:53:13 agc Exp $
--- ./agent/agentrex.C.orig 2002-11-27 18:51:05.000000000 +0000
+++ ./agent/agentrex.C
@@ -68,7 +68,7 @@ public:
virtual void
newfd (svccb *sbp)
{
- rexcb_newfd_arg *argp = sbp->template getarg<rexcb_newfd_arg> ();
+ rexcb_newfd_arg *argp = sbp->getarg<rexcb_newfd_arg> ();
waitnewfd = false;
@@ -98,7 +98,7 @@ public:
}
virtual void data (svccb *sbp) {
- rex_payload *argp = sbp->template getarg<rex_payload> ();
+ rex_payload *argp = sbp->getarg<rex_payload> ();
if (waitnewfd && !argp->data.size ()) {
warn ("agent forward channel failure: EOF from suidconnect agent\n");
warn ("NOTE: sfscd must be running on the remote machine for agent "