aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xcpustate
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-06 22:57:27 +0800
committerpav <pav@FreeBSD.org>2004-03-06 22:57:27 +0800
commitae3b60df666376b000fc342529ff36f1fc13ab37 (patch)
tree1bac062b78d98d23c8fca7e40d18fb2ba27930ad /sysutils/xcpustate
parente6a1913a037439fde617d7807c274e1f5f10faf4 (diff)
downloadfreebsd-ports-graphics-ae3b60df666376b000fc342529ff36f1fc13ab37.tar.gz
freebsd-ports-graphics-ae3b60df666376b000fc342529ff36f1fc13ab37.tar.zst
freebsd-ports-graphics-ae3b60df666376b000fc342529ff36f1fc13ab37.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
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 00000000000..c718f64f55b
--- /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)