aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xcpustate
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-06 14:57:27 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-06 14:57:27 +0000
commitb88044f7c0a3a34ee6779ed472956bc45a9a1500 (patch)
tree1082f262e073367c1d1af924a4642def9b9d5b2f /sysutils/xcpustate
parent80d982571543ea88048d2e0897448e5dedfa362a (diff)
downloadports-b88044f7c0a3a34ee6779ed472956bc45a9a1500.tar.gz
ports-b88044f7c0a3a34ee6779ed472956bc45a9a1500.zip
- 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
Notes
Notes: svn path=/head/; revision=103112
Diffstat (limited to 'sysutils/xcpustate')
-rw-r--r--sysutils/xcpustate/files/patch-rstat.x11
1 files changed, 11 insertions, 0 deletions
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)