freebsd-ports/sysutils/xcpustate/files/patch-rstat.x
Pav Lucistnik b88044f7c0 - 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
2004-03-06 14:57:27 +00:00

11 lines
245 B
Text

--- 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)