summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2016-06-15 11:51:11 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2016-06-22 17:12:37 +0200
commit0647b7d6400b1c40fc6cb40596e56b852ceb85c5 (patch)
tree8f955255bde25ba7f9a1524fcf7dd6aa4352fd93
parente092a957b2c71abb7b770a772d26f9de8761413a (diff)
downloadmeta-openembedded-0647b7d6400b1c40fc6cb40596e56b852ceb85c5.tar.gz
iperf: resolve issues with gcc6
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch16
-rw-r--r--meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb4
2 files changed, 17 insertions, 3 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 000000000..348e316ce
--- /dev/null
+++ b/meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch
@@ -0,0 +1,16 @@
1--- iperf-2.0.5/m4/dast.m4.orig 2016-06-15 11:42:03.945581785 -0400
2+++ iperf-2.0.5/m4/dast.m4 2016-06-15 11:42:11.053581641 -0400
3@@ -11,7 +11,12 @@
4
5 AC_DEFUN(DAST_CHECK_BOOL, [
6
7-AC_CHECK_SIZEOF(bool)
8+if test "$ac_cv_header_stdbool_h" = yes; then
9+ AC_CHECK_SIZEOF(bool,,[#include <stdbool.h>])
10+else
11+ AC_CHECK_SIZEOF(bool)
12+fi
13+
14 if test "$ac_cv_sizeof_bool" = 0 ; then
15 AC_DEFINE(bool, int)
16 fi
diff --git a/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb b/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb
index b9709f10a..a9e0d8729 100644
--- a/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb
+++ b/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e8478eae9f479e39bc34975193360298"
7SRC_URI = " ${SOURCEFORGE_MIRROR}/iperf/${BP}.tar.gz \ 7SRC_URI = " ${SOURCEFORGE_MIRROR}/iperf/${BP}.tar.gz \
8 file://iperf-2.0.5_ManPage.patch \ 8 file://iperf-2.0.5_ManPage.patch \
9 file://0001-fix-out-of-tree-config.patch \ 9 file://0001-fix-out-of-tree-config.patch \
10 file://0002-fix-bool-size-m4.patch \
10 " 11 "
11 12
12SRC_URI[md5sum] = "44b5536b67719f4250faed632a3cd016" 13SRC_URI[md5sum] = "44b5536b67719f4250faed632a3cd016"
@@ -17,6 +18,3 @@ S = "${WORKDIR}/${BP}"
17inherit autotools pkgconfig 18inherit autotools pkgconfig
18 19
19EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" 20EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
20
21# http://errors.yoctoproject.org/Errors/Details/68671/
22PNBLACKLIST[iperf] ?= "BROKEN: fails to build with gcc-6"