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

13 lines
499 B
Text

$NetBSD: patch-am,v 1.1 2006/10/21 11:53:13 agc Exp $
--- ./sfsmisc/afsnode.h.orig 2001-07-27 03:13:07.000000000 +0100
+++ ./sfsmisc/afsnode.h
@@ -168,7 +168,7 @@ public:
void mkfattr3 (fattr3 *, sfs_aid aid);
void setres (nfsstat err);
void setres (nfspath path);
- str readlink () const { return res.status ? str (NULL) : *res.data; }
+ str readlink () const { return res.status ? str (NULL) : str(*res.data); }
bool resset () { return resok; }
void nfs_readlink (svccb *sbp);