mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
1812028119
Fix incompatible pointer type error for daq: | ../../daq-2.0.7/os-daq-modules/daq_nfq.c: In function 'SetPktHdr': | ../../daq-2.0.7/os-daq-modules/daq_nfq.c:394:37: error: passing argument 2 of 'nfq_get_payload' from incompatible pointer type [-Wincompatible-pointer-types] | 394 | int len = nfq_get_payload(nfad, (char**)pkt); | | ^~~~~~~~~~~ | | | | | char ** Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
35 lines
1.3 KiB
BlitzBasic
35 lines
1.3 KiB
BlitzBasic
SUMMARY = "The dump DAQ test the various inline mode features "
|
|
HOMEPAGE = "http://www.snort.org"
|
|
SECTION = "libs"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0"
|
|
|
|
PARALLEL_MAKE = ""
|
|
|
|
DEPENDS = "libpcap libpcre libdnet bison-native libnetfilter-queue"
|
|
|
|
SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
|
|
file://disable-run-test-program-while-cross-compiling.patch \
|
|
file://0001-correct-the-location-of-unistd.h.patch \
|
|
file://daq-fix-incompatible-pointer-type-error.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "bdc4e5a24d1ea492c39ee213a63c55466a2e8114b6a9abed609927ae13a7705e"
|
|
# these 2 create undeclared dependency on libdnet and libnetfilter-queue from meta-networking
|
|
# this error from test-dependencies script:
|
|
# daq/daq/latest lost dependency on libdnet libmnl libnetfilter-queue libnfnetlink
|
|
#
|
|
# never look to /usr/local lib while cross compiling
|
|
|
|
EXTRA_OECONF = "--enable-nfq-module --disable-ipq-module --includedir=${includedir} \
|
|
--with-libpcap-includes=${STAGING_INCDIR} --with-dnet-includes=${STAGING_LIBDIR}"
|
|
|
|
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
|
|
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
|
|
|
inherit autotools multilib_script
|
|
MULTILIB_SCRIPTS += "${PN}:${bindir}/daq-modules-config "
|
|
|
|
DISABLE_STATIC = ""
|
|
|
|
BBCLASSEXTEND = "native"
|