diff options
Diffstat (limited to 'meta-networking/recipes-protocols/openflow/openflow_git.bb')
-rw-r--r-- | meta-networking/recipes-protocols/openflow/openflow_git.bb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-networking/recipes-protocols/openflow/openflow_git.bb b/meta-networking/recipes-protocols/openflow/openflow_git.bb index 41bedcd0cf..1588245f8a 100644 --- a/meta-networking/recipes-protocols/openflow/openflow_git.bb +++ b/meta-networking/recipes-protocols/openflow/openflow_git.bb | |||
@@ -21,6 +21,7 @@ SRC_URI = "git://github.com/mininet/openflow;protocol=https;branch=master \ | |||
21 | file://0001-generate-not-static-get_dh-functions.patch \ | 21 | file://0001-generate-not-static-get_dh-functions.patch \ |
22 | file://0001-socket-util-Include-sys-stat.h-for-fchmod.patch \ | 22 | file://0001-socket-util-Include-sys-stat.h-for-fchmod.patch \ |
23 | file://0001-Makefile.am-Specify-export-dynamic-directly-to-linke.patch \ | 23 | file://0001-Makefile.am-Specify-export-dynamic-directly-to-linke.patch \ |
24 | file://0001-Link-in-libexecinfo-if-it-has-backtrace-API.patch \ | ||
24 | " | 25 | " |
25 | CVE_STATUS[CVE-2015-1611] = "not-applicable-config: Not referred to our implementation of openflow" | 26 | CVE_STATUS[CVE-2015-1611] = "not-applicable-config: Not referred to our implementation of openflow" |
26 | CVE_STATUS[CVE-2015-1612] = "not-applicable-config: Not referred to our implementation of openflow" | 27 | CVE_STATUS[CVE-2015-1612] = "not-applicable-config: Not referred to our implementation of openflow" |
@@ -34,11 +35,8 @@ EXTRA_OECONF += " \ | |||
34 | KARCH=${TARGET_ARCH} \ | 35 | KARCH=${TARGET_ARCH} \ |
35 | ${@bb.utils.contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \ | 36 | ${@bb.utils.contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \ |
36 | " | 37 | " |
37 | |||
38 | DEPENDS:append:libc-musl = " libexecinfo" | 38 | DEPENDS:append:libc-musl = " libexecinfo" |
39 | LDFLAGS:append:libc-musl = " -lexecinfo" | ||
40 | 39 | ||
41 | S = "${WORKDIR}/git" | ||
42 | 40 | ||
43 | inherit autotools-brokensep pkgconfig | 41 | inherit autotools-brokensep pkgconfig |
44 | 42 | ||
@@ -68,3 +66,8 @@ do_install:append() { | |||
68 | } | 66 | } |
69 | 67 | ||
70 | FILES:${PN} += "${nonarch_libdir}/tmpfiles.d" | 68 | FILES:${PN} += "${nonarch_libdir}/tmpfiles.d" |
69 | |||
70 | # http://errors.yoctoproject.org/Errors/Details/766898/ | ||
71 | # lib/flow.c:213:48: error: initialization of 'const struct arp_eth_header *' from incompatible pointer type 'struct arp_header *' [-Wincompatible-pointer-types] | ||
72 | # lib/backtrace.c:126:32: error: passing argument 1 of 'backtrace' from incompatible pointer type [-Wincompatible-pointer-types] | ||
73 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||