Patchwork zeromq: require IPv6 support in toolchain

login
register
mail settings
Submitter Simon Dawson
Date March 18, 2013, 9:42 a.m.
Message ID <1363599725-23511-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/228424/
State Accepted
Commit f7f28c09767200dbf04cd1c87861370085188188
Headers show

Comments

Simon Dawson - March 18, 2013, 9:42 a.m.
From: Simon Dawson <spdawson@gmail.com>

The zeromq package was recently bumped from version 2.2.0 to version 3.2.2,
which has introduced a requirement for IPv6 support in the toolchain. At
present, IPv6 support is mandatory in zeromq: there is no configuration option
to enable/disable the feature.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/zeromq/Config.in |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Peter Korsgaard - March 18, 2013, 10:39 a.m.
>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

 spdawson> From: Simon Dawson <spdawson@gmail.com>

 spdawson> The zeromq package was recently bumped from version 2.2.0 to
 spdawson> version 3.2.2, which has introduced a requirement for IPv6
 spdawson> support in the toolchain. At present, IPv6 support is
 spdawson> mandatory in zeromq: there is no configuration option to
 spdawson> enable/disable the feature.

Committed, thanks.
Alexander Lukichev - March 18, 2013, 11:35 a.m.
Hi, Simon, all!

> The zeromq package was recently bumped from version 2.2.0 to version
3.2.2,
> which has introduced a requirement for IPv6 support in the toolchain.

  Indeed. I apologize for not checking that myself. Thanks for fixing!

--
Best regards,
  Alexander Lukichev

Patch

diff --git a/package/zeromq/Config.in b/package/zeromq/Config.in
index b7dc8a6..f93ab5d 100644
--- a/package/zeromq/Config.in
+++ b/package/zeromq/Config.in
@@ -1,9 +1,10 @@ 
-comment "zeromq requires a toolchain with C++, LARGEFILE + WCHAR support"
-	depends on !(BR2_INSTALL_LIBSTDCPP &&  BR2_LARGEFILE && BR2_USE_WCHAR)
+comment "zeromq requires a toolchain with C++, IPV6, LARGEFILE and WCHAR support"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE && BR2_USE_WCHAR)
 
 config BR2_PACKAGE_ZEROMQ
 	bool "zeromq"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_INET_IPV6
 	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
 	select BR2_PACKAGE_UTIL_LINUX