From b88044f7c0a3a34ee6779ed472956bc45a9a1500 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sat, 6 Mar 2004 14:57:27 +0000 Subject: [PATCH] - There seems to be a race condition in the extract that causes a file to be rebuilt or not. You can trigger the failure by doing 'make extract; touch work/rstat.x; make all' The failure is because rpcgen rstat.x calls cpp -E which replaces an "#ifdef __STDC__" with "#ifdef 1" in the output, which is a gcc 3 syntax error. Submitted by: Samy Al Bahra (maintainer) Analyzed by: kris --- sysutils/xcpustate/files/patch-rstat.x | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sysutils/xcpustate/files/patch-rstat.x diff --git a/sysutils/xcpustate/files/patch-rstat.x b/sysutils/xcpustate/files/patch-rstat.x new file mode 100644 index 000000000000..c718f64f55b6 --- /dev/null +++ b/sysutils/xcpustate/files/patch-rstat.x @@ -0,0 +1,11 @@ +--- rstat.x Sat Mar 6 17:26:17 2004 ++++ /tmp/rstat.x.patch Sat Mar 6 17:26:11 2004 +@@ -52,7 +52,7 @@ + % */ + % + %bool_t +-%#ifdef __STDC__ ++%#if __STDC__ + %xdr_timeval(XDR *xdrs, struct timeval *tvp) + %#else /* K&R C */ + %xdr_timeval(xdrs, tvp)