openbsd-ports/security/cfs/patches/patch-cdetach_c
sturm 47b40eba3b update to cfs 1.4.1
CFS was actually broken since at least 3.2 or so, but should work now
again on 32-bit archs. 64-bit archs are still broken and won't be
fixed anytime soon.

I also set PERMIT_*=Yes, as the "no fee" part of the license is clearly
due to bad english.

xsa@ helped testing
2004-06-15 18:32:22 +00:00

15 lines
520 B
Plaintext

$OpenBSD: patch-cdetach_c,v 1.1 2004/06/15 18:32:22 sturm Exp $
--- cdetach.c.orig 2004-06-09 15:24:39.000000000 +0200
+++ cdetach.c 2004-06-09 15:25:49.000000000 +0200
@@ -40,8 +40,8 @@ main(argc,argv)
ap.name=argv[1];
ap.uid=getuid();
if ((status = callrpc("localhost",ADM_PROGRAM,ADM_VERSION,
- ADMPROC_DETACH,xdr_cfs_detachargs,&ap,
- xdr_cfsstat,&ret)) !=0) {
+ ADMPROC_DETACH,xdr_cfs_detachargs,(char *)&ap,
+ xdr_cfsstat,(char *)&ret)) !=0) {
clnt_perrno(status);
exit(1);
}