Source: billiard
Version: 3.3.0.17-2
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hi,

billiard fails to build from source for GNU/Hurd due to missing entry
for gnu in setup.py. It is also flagged as out-of-date. The attached
patch fixes the build.

Thanks!
--- a/setup.py.orig	2014-07-04 23:44:17.000000000 +0200
+++ b/setup.py	2014-07-05 00:00:46.000000000 +0200
@@ -135,6 +135,13 @@
         HAVE_FD_TRANSFER=1,
     )
     libraries = []
+elif sys.platform.startswith('gnu'):
+    macros = dict(                  # GNU/Hurd
+        HAVE_SEM_OPEN=0,            # Not implemented
+        HAVE_SEM_TIMEDWAIT=0,
+        HAVE_FD_TRANSFER=1,
+    )
+    libraries = []
 else:                                   # Linux and other unices
     macros = dict(
         HAVE_SEM_OPEN=1,

Reply via email to