Patchwork [10/11] libnetfilter_queue: does not build without IPv6 support

login
register
mail settings
Submitter Thomas Petazzoni
Date Nov. 10, 2012, 9:42 p.m.
Message ID <729e8d4f5d8ca2d7d1821b514e30a175e6331562.1352583641.git.thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/198217/
State Accepted
Commit 55107970cdebd991ad2d6e27bf7b99489cccc9ee
Headers show

Comments

Thomas Petazzoni - Nov. 10, 2012, 9:42 p.m.
Fixes the following build failure:

extra/checksum.c:16:25: fatal error: netinet/ip6.h: No such file or directory
compilation terminated.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/libnetfilter_queue/Config.in |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/package/libnetfilter_queue/Config.in b/package/libnetfilter_queue/Config.in
index d06aa77..d04853d 100644
--- a/package/libnetfilter_queue/Config.in
+++ b/package/libnetfilter_queue/Config.in
@@ -1,6 +1,7 @@ 
 config BR2_PACKAGE_LIBNETFILTER_QUEUE
 	bool "libnetfilter_queue"
 	depends on BR2_LARGEFILE
+	depends on BR2_INET_IPV6
 	select BR2_PACKAGE_LIBNFNETLINK
 	select BR2_PACKAGE_LIBMNL
 	help
@@ -10,5 +11,5 @@  config BR2_PACKAGE_LIBNETFILTER_QUEUE
 
 	  http://www.netfilter.org/projects/libnetfilter_queue/
 
-comment "libnetfilter_queue requires a toolchain with LARGEFILE support"
-	depends on !BR2_LARGEFILE
+comment "libnetfilter_queue requires a toolchain with LARGEFILE and IPv6 support"
+	depends on !BR2_LARGEFILE && !BR2_INET_IPV6