summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb
diff options
context:
space:
mode:
authordengke.du@windriver.com <dengke.du@windriver.com>2016-10-19 13:27:00 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2016-11-14 10:07:19 -0500
commitc8f78ecb9b8a39a955631ca1a415d94da588bc26 (patch)
tree0206a7da44207b791cdb4d982ffc464064d5e630 /meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb
parent7a491f384c277ee42ac895fec6fc2ef70f15df4d (diff)
downloadmeta-openembedded-c8f78ecb9b8a39a955631ca1a415d94da588bc26.tar.gz
linux-atm: fix do_compile error
With linux kernel v4.8, for file ./src/maint/zntune.c, glibc time.h is included before linux time.h, when compile zntune.c, it break down by the following errors: redefinition of 'struct timespec' 'struct timeval' 'struct timezone' 'struct itimerval' We should exclude the linux time.h by disable linux/atm_zatm.h and move some useful definition in linux/atm_zatm.h to a new header file in linux-atm source code to resolve it. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb')
-rw-r--r--meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb b/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb
index edfb045a96..6ab8b07d02 100644
--- a/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb
+++ b/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb
@@ -9,7 +9,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
9 9
10SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BPN}-${PV}.tar.gz \ 10SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BPN}-${PV}.tar.gz \
11 file://link-with-ldflags.patch \ 11 file://link-with-ldflags.patch \
12 file://install-from-buildir.patch" 12 file://install-from-buildir.patch \
13 file://0001-fix-compile-error-with-linux-kernel-v4.8.patch \
14"
13 15
14SRC_URI[md5sum] = "d49499368c3cf15f73a05d9bce8824a8" 16SRC_URI[md5sum] = "d49499368c3cf15f73a05d9bce8824a8"
15SRC_URI[sha256sum] = "9645481a2b16476b59220aa2d6bc5bc41043f291326c9b37581018fbd16dd53a" 17SRC_URI[sha256sum] = "9645481a2b16476b59220aa2d6bc5bc41043f291326c9b37581018fbd16dd53a"