diff options
author | Derek Straka <derek@asterius.io> | 2016-06-15 11:51:11 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-06-22 17:12:37 +0200 |
commit | 0647b7d6400b1c40fc6cb40596e56b852ceb85c5 (patch) | |
tree | 8f955255bde25ba7f9a1524fcf7dd6aa4352fd93 /meta-oe/recipes-benchmark | |
parent | e092a957b2c71abb7b770a772d26f9de8761413a (diff) | |
download | meta-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>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r-- | meta-oe/recipes-benchmark/iperf/iperf-2.0.5/0002-fix-bool-size-m4.patch | 16 | ||||
-rw-r--r-- | meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb | 4 |
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" | |||
7 | SRC_URI = " ${SOURCEFORGE_MIRROR}/iperf/${BP}.tar.gz \ | 7 | SRC_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 | ||
12 | SRC_URI[md5sum] = "44b5536b67719f4250faed632a3cd016" | 13 | SRC_URI[md5sum] = "44b5536b67719f4250faed632a3cd016" |
@@ -17,6 +18,3 @@ S = "${WORKDIR}/${BP}" | |||
17 | inherit autotools pkgconfig | 18 | inherit autotools pkgconfig |
18 | 19 | ||
19 | EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" | 20 | EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" |
20 | |||
21 | # http://errors.yoctoproject.org/Errors/Details/68671/ | ||
22 | PNBLACKLIST[iperf] ?= "BROKEN: fails to build with gcc-6" | ||