Source: czmq Version: 3.0.2-1 Severity: important Tags: patch Usertags: hurd User: debian-h...@lists.debian.org
Currently czmq is not available for GNU/Hurd due to an unsupported OS error and a build dependency on zeromq3. zeromq3 FTBFS due to an unsupported OS error too and two failing tests. Support for Hurd has been added to zeromq3 in a recent patch to bug #799435. Attached is a patch that also enables Hurd support for czmq. The package builds fine and all selftests pass. Thanks!
--- a/configure.ac.orig 2015-10-06 12:45:24.000000000 +0200 +++ b/configure.ac 2015-10-06 12:58:25.000000000 +0200 @@ -130,6 +130,7 @@ czmq_on_mingw32="no" czmq_on_cygwin="no" czmq_on_android="no" +czmq_on_gnu="no" # Host specific checks AC_CANONICAL_HOST @@ -222,6 +223,11 @@ AC_DEFINE(CZMQ_HAVE_CYGWIN, 1, [Have Cygwin]) czmq_on_cygwin="yes" ;; + gnu*) + # Define on GNU/Hurd to enable all library features + CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS" + AC_DEFINE(CZMQ_HAVE_GNU, 1, [Have GNU/Hurd OS]) + ;; *) AC_MSG_ERROR([unsupported system: ${host_os}.]) ;;