aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iperf/patches
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-12-13 21:25:03 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2019-12-23 00:22:07 +0100
commitfd211e1677fc653feeef6b0b8b8e8659ac274b3c (patch)
tree7461e06afc5b95884e8004e33eea5b7c9a13b1a0 /package/network/utils/iperf/patches
parent6041eb9547be49edaa6c2ecd5dd77e8a9e067244 (diff)
downloadupstream-fd211e1677fc653feeef6b0b8b8e8659ac274b3c.tar.gz
upstream-fd211e1677fc653feeef6b0b8b8e8659ac274b3c.tar.bz2
upstream-fd211e1677fc653feeef6b0b8b8e8659ac274b3c.zip
iperf: Fix compilation with libcxx
Avoids redefining bool. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/network/utils/iperf/patches')
-rw-r--r--package/network/utils/iperf/patches/010-libcxx.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/network/utils/iperf/patches/010-libcxx.patch b/package/network/utils/iperf/patches/010-libcxx.patch
new file mode 100644
index 0000000000..cf0124232f
--- /dev/null
+++ b/package/network/utils/iperf/patches/010-libcxx.patch
@@ -0,0 +1,12 @@
+--- a/config.h.in
++++ b/config.h.in
+@@ -360,7 +360,9 @@
+ #undef _REENTRANT
+
+ /* */
++#ifndef __cplusplus
+ #undef bool
++#endif
+
+ /* Define to empty if `const' does not conform to ANSI C. */
+ #undef const