mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
iperf: resolve issues with gcc6
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
e092a957b2
commit
0647b7d640
@@ -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
|
||||
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e8478eae9f479e39bc34975193360298"
|
||||
SRC_URI = " ${SOURCEFORGE_MIRROR}/iperf/${BP}.tar.gz \
|
||||
file://iperf-2.0.5_ManPage.patch \
|
||||
file://0001-fix-out-of-tree-config.patch \
|
||||
file://0002-fix-bool-size-m4.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "44b5536b67719f4250faed632a3cd016"
|
||||
@@ -17,6 +18,3 @@ S = "${WORKDIR}/${BP}"
|
||||
inherit autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/68671/
|
||||
PNBLACKLIST[iperf] ?= "BROKEN: fails to build with gcc-6"
|
||||
|
||||
Reference in New Issue
Block a user