openbsd-ports/security/cfs/patches/patch-netbsd_make_with_bad_rpcgen
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

13 lines
578 B
Plaintext

$OpenBSD: patch-netbsd_make_with_bad_rpcgen,v 1.1 2004/06/15 18:32:22 sturm Exp $
--- netbsd_make_with_bad_rpcgen.orig 2004-06-09 19:47:08.000000000 +0200
+++ netbsd_make_with_bad_rpcgen 2004-06-09 19:47:36.000000000 +0200
@@ -1,7 +1,7 @@
#!/bin/sh
# this will make CFS for NetBSD (and other) systems with the
# wrong version of rpcgen
-make CC="cc -traditional \
+make CC="${CCTMP} ${CFLAGS} -U__STDC__ \
-Dnfsproc_null_2_svc=nfsproc_null_2 \
-Dnfsproc_getattr_2_svc=nfsproc_getattr_2 \
-Dnfsproc_setattr_2_svc=nfsproc_setattr_2 \