aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch
diff options
context:
space:
mode:
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>2018-01-22 19:45:14 +0200
committerArmin Kuster <akuster808@gmail.com>2018-01-23 07:39:56 -0800
commitf664efbd1a8d1d90828d5a5eab29462f6551a4f9 (patch)
tree1558e860f7be2b0ab2c1825e415879677254daa8 /meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch
parente891e072f8188ccc119c987c0213f5b216f55526 (diff)
downloadmeta-openembedded-contrib-f664efbd1a8d1d90828d5a5eab29462f6551a4f9.tar.gz
Revert "iperf: remove deprecated package"
This reverts commit 2b6cad9522582b0816251b5efbbc4601d037ae0e. iperf3 is a complete rewrite which does not have full parity with iperf2 and in some cases it's intentionally backwards incompatble so moving to iperf3 is not possible for everyone. That's why the project got forked. These recipes/packages can live side by side because their projects are now independent (separate codebases and maintainers). Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch')
-rw-r--r--meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch b/meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch
new file mode 100644
index 0000000000..348e316ce4
--- /dev/null
+++ b/meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch
@@ -0,0 +1,16 @@
+--- iperf-2.0.5/m4/dast.m4.orig 2016-06-15 11:42:03.945581785 -0400
++++ iperf-2.0.5/m4/dast.m4 2016-06-15 11:42:11.053581641 -0400
+@@ -11,7 +11,12 @@
+
+ AC_DEFUN(DAST_CHECK_BOOL, [
+
+-AC_CHECK_SIZEOF(bool)
++if test "$ac_cv_header_stdbool_h" = yes; then
++ AC_CHECK_SIZEOF(bool,,[#include <stdbool.h>])
++else
++ AC_CHECK_SIZEOF(bool)
++fi
++
+ if test "$ac_cv_sizeof_bool" = 0 ; then
+ AC_DEFINE(bool, int)
+ fi