summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2015-04-04 11:42:09 -0700
committerArmin Kuster <akuster808@gmail.com>2015-08-03 09:06:59 -0700
commitf5b38dba0fe6ac7f28b91152d3a0916c27ebec07 (patch)
treeb6dfa372a11361ec790092df059e8d807bd9287e /meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
parent35b5080ed6b379db6aa2b697b6377fa0725a5216 (diff)
downloadmeta-openembedded-f5b38dba0fe6ac7f28b91152d3a0916c27ebec07.tar.gz
daq: move recipe to meta-networking
ERROR: Nothing PROVIDES 'libdnet' (but /home/akuster/oss/clean/meta-openembedded/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb DEPENDS on or otherwise requires it). Close matches: libnet libnewt libidn ERROR: Required build target 'daq' has no buildable providers. Missing or unbuildable dependency chain was: ['daq', 'libdnet'] world build fails for meta-oe. move daq to meta-networking where snort and libdnet both reside. Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch')
-rw-r--r--meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch b/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
new file mode 100644
index 0000000000..12a6cba600
--- /dev/null
+++ b/meta-networking/recipes-connectivity/daq/files/disable-run-test-program-while-cross-compiling.patch
@@ -0,0 +1,29 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3fix the below error:
4configure: error: cannot run test program while cross compiling
5
6Signed-off-by: Chunrong Guo <B40290@freescale.com>
7
8--- a/m4/sf.m4old 2013-08-30 04:08:18.768409680 -0500
9+++ b/m4/sf.m4 2013-08-30 04:09:24.591367890 -0500
10@@ -135,19 +135,6 @@
11 exit 1
12 fi
13 AC_MSG_CHECKING([for libpcap version >= $1])
14- AC_RUN_IFELSE(
15- [AC_LANG_PROGRAM(
16- [[
17- #include <pcap.h>
18- #include <string.h>
19- extern char pcap_version[];
20- ]],
21- [[
22- if (strcmp(pcap_version, $1) < 0)
23- return 1;
24- ]])],
25- [libpcap_version_1x="yes"],
26- [libpcap_version_1x="no"])
27 if test "x$libpcap_version_1x" = "xno"; then
28 AC_MSG_RESULT(no)
29 echo