openbsd-ports/security/cfs/patches/patch-netbsd_make_with_bad_rpcgen

13 lines
578 B
Plaintext
Raw Normal View History

$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 \