aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-04-08 16:29:21 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-04-08 16:29:21 +0000
commita57c6c85e72f3323b605c5be9e8fbb1b0d19b47b (patch)
tree4e0c33c05aba1280bcddfe46c2a771ea0c919c16 /benchmarks
parentf2e8c63f3500b33b022a0c28c1f254d543579132 (diff)
downloadports-a57c6c85e72f3323b605c5be9e8fbb1b0d19b47b.tar.gz
ports-a57c6c85e72f3323b605c5be9e8fbb1b0d19b47b.zip
- Fix build with libc++ 3.8.0
PR: 208491 Submitted by: dim
Notes
Notes: svn path=/head/; revision=412773
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/iperf/files/patch-config.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/benchmarks/iperf/files/patch-config.h.in b/benchmarks/iperf/files/patch-config.h.in
new file mode 100644
index 000000000000..62f31a0e1eca
--- /dev/null
+++ b/benchmarks/iperf/files/patch-config.h.in
@@ -0,0 +1,12 @@
+--- config.h.in.orig 2010-04-10 19:23:05 UTC
++++ config.h.in
+@@ -268,7 +268,9 @@
+ #undef _REENTRANT
+
+ /* */
++#ifndef __cplusplus
+ #undef bool
++#endif
+
+ /* Define to empty if `const' does not conform to ANSI C. */
+ #undef const